chore: save working baseline before v3.0 architecture refactoring

This commit is contained in:
2026-08-21 09:32:07 +03:00
parent 66087d5806
commit 304208760b
24 changed files with 3471 additions and 2068 deletions
+2 -1
View File
@@ -25,6 +25,7 @@ from routers.auth import router as auth_router
from routers.admin import router as admin_router
from routers.tasks import router as tasks_router
from routers.chat import router as chat_router
from routers.files import router as files_router
# ANCHOR[APP_CONFIG]
logging.basicConfig(
@@ -53,6 +54,7 @@ app.include_router(auth_router)
app.include_router(admin_router)
app.include_router(tasks_router)
app.include_router(chat_router)
app.include_router(files_router)
# ANCHOR[ROOT_STATIC_ROUTES]
@app.get("/")
@@ -81,7 +83,6 @@ def serve_static_fallback(file_path: str):
return FileResponse(target, media_type="text/css")
return FileResponse(target)
# Резервный рекурсивный поиск файла в static
filename = os.path.basename(clean_path)
for root, _, files in os.walk(STATIC_DIR):
if filename in files: