diff options
| author | Elizabeth Hunt <elizabeth@simponic.xyz> | 2024-08-07 21:23:58 -0700 |
|---|---|---|
| committer | Elizabeth Hunt <elizabeth@simponic.xyz> | 2024-08-07 21:23:58 -0700 |
| commit | 6f223d2462df5e08856fb83fd76773a8af33acf9 (patch) | |
| tree | 2a439baf25918fe732ba7159709e19a5b09ffb67 /kennel | |
| parent | 9cdb7a145e5bc0167243e4fac0cad0b65533f97b (diff) | |
| download | kennel.hatecomputers.club-6f223d2462df5e08856fb83fd76773a8af33acf9.tar.gz kennel.hatecomputers.club-6f223d2462df5e08856fb83fd76773a8af33acf9.zip | |
add server url for openapi spec, proxy headers spec
Diffstat (limited to 'kennel')
| -rw-r--r-- | kennel/main.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/kennel/main.py b/kennel/main.py index 4ec9fca..183fb64 100644 --- a/kennel/main.py +++ b/kennel/main.py @@ -5,7 +5,11 @@ from fastapi import FastAPI, Request, Response from fastapi.staticfiles import StaticFiles from fastapi.templating import Jinja2Templates -app = FastAPI() +app = FastAPI( + servers = [ + {"url": "https://kennel.hatecomputers.club", "description": "prod"} + ] +) logger = structlog.get_logger() |
