Skip to content

Commit

Permalink
update port
Browse files Browse the repository at this point in the history
  • Loading branch information
tommylees112 committed Sep 13, 2024
1 parent 9eca3d5 commit bd59101
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
FLASK_APP=INSERT_HERE
COHERE_API_KEY=INSERT_HERE
TWILIO_ACCOUNT_SID=INSERT_HERE
TWILIO_AUTH_TOKEN=INSERT_HERE
Expand Down
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ async def webhook(
if __name__ == "__main__":
logger.info("Starting FastAPI server...")
port = int(os.environ.get("PORT", 8080))
uvicorn.run("src.main:app", host="0.0.0.0", port=8000, reload=True)
uvicorn.run("src.main:app", host="0.0.0.0", port=port, reload=True)

0 comments on commit bd59101

Please sign in to comment.