Fix production helper path

This commit is contained in:
2026-11-22 16:25:55 +03:00
parent 05159391db
commit bbe4d5cfa3
+1 -1
View File
@@ -49,7 +49,7 @@ app.add_middleware(
) )
ADMIN_USER = os.getenv("AI_STATION_ADMIN_USER", "theroot") ADMIN_USER = os.getenv("AI_STATION_ADMIN_USER", "theroot")
ADMIN_IDLE_SECONDS = 600 ADMIN_IDLE_SECONDS = 600
ADMIN_HELPER = "/home/theroot/ai-station-portal-v0.8.4-hotfix5/ai-station-portal-admin" ADMIN_HELPER = "/opt/ai-station-portal/ai-station-portal-admin"
app.mount("/static", StaticFiles(directory=BASE_DIR / "static"), name="static") app.mount("/static", StaticFiles(directory=BASE_DIR / "static"), name="static")
templates = Jinja2Templates(directory=BASE_DIR / "templates") templates = Jinja2Templates(directory=BASE_DIR / "templates")