fix Config reload

This commit is contained in:
jxxghp
2025-06-03 23:10:48 +08:00
parent bbfd8ca3f5
commit 2af8b6f445

View File

@@ -37,7 +37,6 @@ from app.utils.crypto import HashUtils
from app.utils.http import RequestUtils
from app.utils.security import SecurityUtils
from app.utils.url import UrlUtils
from core.event import eventmanager
from version import APP_VERSION
router = APIRouter()
@@ -231,10 +230,6 @@ def set_env_setting(env: dict,
}
)
if success_updates:
for key, value in success_updates.items():
eventmanager.send_event()
return schemas.Response(
success=True,
message="所有配置项更新成功",