mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Added api versioning
This commit is contained in:
parent
7952bb531f
commit
6d346c47b6
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ from app.config import get_settings
|
|||
app = FastAPI(dependencies=[Depends(validate_api_key)])
|
||||
|
||||
|
||||
app.include_router(portfolio_router.router)
|
||||
app.include_router(portfolio_router.router, prefix="/v1")
|
||||
|
||||
if get_settings().ENVIRONMENT == "local":
|
||||
from app.local import router as local_router
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue