update FastAPI middleware configuration and change server command to use Uvicorn
This commit is contained in:
2
start_fastapi.sh
Normal file → Executable file
2
start_fastapi.sh
Normal file → Executable file
@@ -1 +1 @@
|
||||
gunicorn main:app -w 4
|
||||
uvicorn main:app --host 0.0.0.0 --port 8000 --workers 4
|
||||
Reference in New Issue
Block a user