yxmiler commited on
Commit
65402d7
·
verified ·
1 Parent(s): f9876fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -40,7 +40,7 @@ CONFIG = {
40
  "IS_CUSTOM_SSO": os.getenv("IS_CUSTOM_SSO", "false").lower() == "true"
41
  },
42
  "SERVER": {
43
- "PORT": int(os.getenv("PORT", 3000))
44
  },
45
  "RETRY": {
46
  "MAX_ATTEMPTS": 2
@@ -1073,4 +1073,4 @@ async def index():
1073
 
1074
  if __name__ == "__main__":
1075
  asyncio.run(initialize_tokens())
1076
- app.run(host="0.0.0.0", port=CONFIG["SERVER"]["PORT"])
 
40
  "IS_CUSTOM_SSO": os.getenv("IS_CUSTOM_SSO", "false").lower() == "true"
41
  },
42
  "SERVER": {
43
+ "PORT": int(os.getenv("PORT", 5200))
44
  },
45
  "RETRY": {
46
  "MAX_ATTEMPTS": 2
 
1073
 
1074
  if __name__ == "__main__":
1075
  asyncio.run(initialize_tokens())
1076
+ app.run(host="0.0.0.0", port=5200)