feat: overhaul UI styling, improve templates, enhance services and tests
This commit is contained in:
+3
-1
@@ -58,7 +58,9 @@ def create_app() -> FastAPI:
|
||||
|
||||
# 安全警告
|
||||
if settings.ADMIN_TOKEN == "change-me":
|
||||
logger.warning("⚠️ ADMIN_TOKEN is the default value 'change-me'. Please change it in .env!")
|
||||
logger.warning(
|
||||
"⚠️ ADMIN_TOKEN is the default value 'change-me'. Please change it in .env!"
|
||||
)
|
||||
|
||||
if settings.APP_HOST not in ("127.0.0.1", "localhost", "::1"):
|
||||
logger.warning(
|
||||
|
||||
Reference in New Issue
Block a user