浏览代码

chore: remove the unused config INNER_API_KEY (#14780)

Bowen Liang 1 月之前
父节点
当前提交
561a3bf7a0
共有 4 个文件被更改,包括 1 次插入7 次删除
  1. 0 1
      api/.env.example
  2. 0 5
      api/configs/feature/__init__.py
  3. 1 0
      api/migrations/README
  4. 0 1
      api/tests/integration_tests/.env.example

+ 0 - 1
api/.env.example

@@ -427,7 +427,6 @@ PLUGIN_DAEMON_URL=http://127.0.0.1:5002
 PLUGIN_REMOTE_INSTALL_PORT=5003
 PLUGIN_REMOTE_INSTALL_HOST=localhost
 PLUGIN_MAX_PACKAGE_SIZE=15728640
-INNER_API_KEY=QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1
 INNER_API_KEY_FOR_PLUGIN=QaHbTe77CtuXmsfyhR7+vRjI/+XbV1AaFy691iy+kGDv2Jvy0/eAh8Y1
 
 # Marketplace configuration

+ 0 - 5
api/configs/feature/__init__.py

@@ -389,11 +389,6 @@ class InnerAPIConfig(BaseSettings):
         default=False,
     )
 
-    INNER_API_KEY: Optional[str] = Field(
-        description="API key for accessing the internal API",
-        default=None,
-    )
-
 
 class LoggingConfig(BaseSettings):
     """

+ 1 - 0
api/migrations/README

@@ -1 +1,2 @@
 Single-database configuration for Flask.
+

+ 0 - 1
api/tests/integration_tests/.env.example

@@ -87,7 +87,6 @@ ZHINAO_API_KEY=
 # Plugin configuration
 PLUGIN_DAEMON_KEY=
 PLUGIN_DAEMON_URL=
-INNER_API_KEY=
 
 # Marketplace configuration
 MARKETPLACE_API_URL=