fix: revert PORT default to 8000 (user sets PORT env)
This commit is contained in:
@@ -308,7 +308,7 @@ def start_backend(enable_reload=False, production_mode=False):
|
|||||||
print(" 🏭 Production mode: Auto-reload disabled")
|
print(" 🏭 Production mode: Auto-reload disabled")
|
||||||
|
|
||||||
host = os.getenv("HOST", "0.0.0.0")
|
host = os.getenv("HOST", "0.0.0.0")
|
||||||
port = int(os.getenv("PORT", "10000"))
|
port = int(os.getenv("PORT", "8000"))
|
||||||
reload = os.environ.get("RELOAD", "false").lower() == "true"
|
reload = os.environ.get("RELOAD", "false").lower() == "true"
|
||||||
|
|
||||||
print(f" 📍 Host: {host}")
|
print(f" 📍 Host: {host}")
|
||||||
|
|||||||
Reference in New Issue
Block a user