Allow setting base URL from env

This commit is contained in:
april
2024-01-02 11:10:56 -06:00
parent c4f01cd3f2
commit 5b6ed389c4
2 changed files with 2 additions and 1 deletions

View File

@@ -5,4 +5,4 @@ from app.config import get_settings
if __name__ == '__main__':
settings = get_settings()
# Start the app
uvicorn.run("app.api:app", host="0.0.0.0", port=settings.tailfin_port, reload=True)
uvicorn.run("app.api:app", host=settings.tailfin_url, port=settings.tailfin_port, reload=True)