fix: revert PORT default to 8000 (user sets PORT env)

This commit is contained in:
ajaysi
2026-04-04 17:51:33 +05:30
parent ab78a6a158
commit 08f08a1a52

View File

@@ -308,7 +308,7 @@ def start_backend(enable_reload=False, production_mode=False):
print(" 🏭 Production mode: Auto-reload disabled")
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"
print(f" 📍 Host: {host}")