From 0aeefc1e6a26710cd8ed878580f3f6069f2936c7 Mon Sep 17 00:00:00 2001
From: Valeria Fadeeva
Date: Thu, 12 Jun 2025 18:18:03 +0500
Subject: [PATCH] Update
---
LeraFoxQueen/main.py | 5 +++++
templates/index.html | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/LeraFoxQueen/main.py b/LeraFoxQueen/main.py
index 67dd4c6..616ef4f 100644
--- a/LeraFoxQueen/main.py
+++ b/LeraFoxQueen/main.py
@@ -1,3 +1,4 @@
+import uvicorn
# import pathlib
import datetime
import uuid
@@ -72,3 +73,7 @@ async def index(request: Request):
@app.exception_handler(HTTPException)
async def http_exception_handler(request, exc):
return JSONResponse(status_code=exc.status_code, content={"detail": exc.detail})
+
+
+if __name__ == "__main__":
+ uvicorn.run(app, host="127.0.0.1", port=8001)
diff --git a/templates/index.html b/templates/index.html
index 45d440a..b26880e 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -516,7 +516,7 @@
- Анкеты доступны только мне, без передачи третиим лицам.
+ Анкеты доступны только мне, без передачи третьим лицам.