fix settings

This commit is contained in:
PoturaevPetr
2025-12-30 02:43:34 +05:00
parent ac8e881ee3
commit c1a9ef27f1
5 changed files with 15 additions and 7 deletions
+2 -1
View File
@@ -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"
)