Skip to content

Commit

Permalink
Update api route prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
slimovich committed Jun 30, 2020
1 parent 5bbae31 commit df36f60
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/core/cli.py

This file was deleted.

2 changes: 1 addition & 1 deletion src/core/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def create_app() -> FastAPI:
LOGGER.info("Initiliase fast-API app")
app = FastAPI()
db.init_app(app=app)
app.include_router(api_router)
app.include_router(api_router, prefix="/api/v1")
except Exception as e:
LOGGER.error(f"Error in fast-API app initialisation => {e}")
return app
Expand Down

0 comments on commit df36f60

Please sign in to comment.