Skip to content

Commit

Permalink
chore: add prod and stage servers
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Oct 27, 2024
1 parent 7fb4f51 commit 3cf5472
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@
generate_unique_id_function=docs.generate_unique_operation_id,
servers=[
{"url": settings.app_root_path, "description": "Current"},
{
"url": "https://api.innohassle.ru/sports/v0",
"description": "Production environment",
},
{
"url": "https://api.innohassle.ru/sports/staging-v0",
"description": "Staging environment",
},
],
lifespan=lifespan,
docs_url=None,
Expand Down

0 comments on commit 3cf5472

Please sign in to comment.