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)