diff options
| author | 2024-08-18 20:16:38 +0100 | |
|---|---|---|
| committer | 2024-08-18 20:16:38 +0100 | |
| commit | 26954a4862bc33a0eab68d6b8992efdf038687d4 (patch) | |
| tree | 9526e227a27d09f21417d4e8eca61240bae8e1dc /thallium-backend/src/app.py | |
| parent | Forward correct path to localhost in compose file (diff) | |
Add debug router for debugging endpoints
Diffstat (limited to 'thallium-backend/src/app.py')
| -rw-r--r-- | thallium-backend/src/app.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/thallium-backend/src/app.py b/thallium-backend/src/app.py index 27ec8ab..5907348 100644 --- a/thallium-backend/src/app.py +++ b/thallium-backend/src/app.py @@ -4,12 +4,13 @@ from fastapi import FastAPI, Request from fastapi.exceptions import RequestValidationError from fastapi.responses import JSONResponse +from src.routes import top_level_router from src.settings import CONFIG log = logging.getLogger(__name__) - fastapi_app = FastAPI(debug=CONFIG.debug) +fastapi_app.include_router(top_level_router) @fastapi_app.get("/heartbeat") |