update FastAPI middleware configuration and change server command to use Uvicorn

This commit is contained in:
2025-09-02 05:32:42 +03:00
parent e8c776ac66
commit cc45da84d1
2 changed files with 8 additions and 11 deletions

2
start_fastapi.sh Normal file → Executable file
View File

@@ -1 +1 @@
gunicorn main:app -w 4
uvicorn main:app --host 0.0.0.0 --port 8000 --workers 4