Fix production helper path
This commit is contained in:
@@ -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")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user