From f7113417980d1d19760070a5198a0030cd988ab0 Mon Sep 17 00:00:00 2001 From: Zikil Date: Fri, 1 Nov 2024 15:54:47 +0700 Subject: [PATCH] aupdate dor ispmanager --- main.py | 4 ++-- passenger_wsgi.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 3b0d5a5..5bf8dc5 100644 --- a/main.py +++ b/main.py @@ -20,10 +20,10 @@ app = FastAPI() application = WSGIMiddleware(app) # Монтирование статических файлов -app.mount("/static", StaticFiles(directory="app/static"), name="static") +app.mount("/static", StaticFiles(directory="static"), name="static") # Инициализация шаблонов -templates = Jinja2Templates(directory="app/templates") +templates = Jinja2Templates(directory="templates") @app.get("/", response_class=HTMLResponse) async def read_index(request: Request): diff --git a/passenger_wsgi.py b/passenger_wsgi.py index d0e0d61..958fdbc 100644 --- a/passenger_wsgi.py +++ b/passenger_wsgi.py @@ -2,7 +2,7 @@ import sys import os -INTERP = os.path.expanduser("/var/www/www-root/data/www/sybiko.ru/.venv/bin/python") +INTERP = os.path.expanduser("/var/www/www-root/data/www/wanlanda.ru/.venv/bin/python") if sys.executable != INTERP: os.execl(INTERP, INTERP, *sys.argv)