fix settings
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
import uvicorn
|
||||
import sys
|
||||
from pathlib import Path
|
||||
from apiApp.config import PORT
|
||||
|
||||
# >102;O5< :>@=52CN 48@5:B>@8N 2 Python path
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parent))
|
||||
@@ -13,7 +14,7 @@ if __name__ == "__main__":
|
||||
uvicorn.run(
|
||||
"main:app",
|
||||
host="0.0.0.0",
|
||||
port=8000,
|
||||
port=PORT,
|
||||
reload=True, # 2B><0B8G5A:0O ?5@5703@C7:0 ?@8 87<5=5=88 :>40
|
||||
log_level="info"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user