aupdate dor ispmanager

This commit is contained in:
Zikil 2024-11-01 15:54:47 +07:00
parent dc91d70569
commit f711341798
2 changed files with 3 additions and 3 deletions

View File

@ -20,10 +20,10 @@ app = FastAPI()
application = WSGIMiddleware(app) 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) @app.get("/", response_class=HTMLResponse)
async def read_index(request: Request): async def read_index(request: Request):

View File

@ -2,7 +2,7 @@ import sys
import os 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: if sys.executable != INTERP:
os.execl(INTERP, INTERP, *sys.argv) os.execl(INTERP, INTERP, *sys.argv)