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 @@

- Анкеты доступны только мне, без передачи третиим лицам. + Анкеты доступны только мне, без передачи третьим лицам.