将环境设置为生产模式;更新网络名称配置

This commit is contained in:
2026-04-08 10:49:01 +08:00
parent 6b09c6b20d
commit 644babf77e
3 changed files with 6 additions and 5 deletions
+2 -3
View File
@@ -1,4 +1,3 @@
import os
from app.core.config import settings
# 从环境变量 NETWORK_NAME 读取
name = os.getenv("NETWORK_NAME")
name = settings.NETWORK_NAME