forked from phoenix/litellm-mirror
Merge pull request #338 from Superflows-AI/fix-proxy-railway-deploy
Fix proxy server railway deployment
This commit is contained in:
commit
c3ed7e2b29
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ def get_models():
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
from waitress import serve
|
from waitress import serve
|
||||||
serve(app, host="0.0.0.0", port=5000, threads=500)
|
serve(app, host="0.0.0.0", port=os.environ.get("PORT", 5000), threads=500)
|
||||||
|
|
||||||
############### Advanced ##########################
|
############### Advanced ##########################
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue