From 6f223d2462df5e08856fb83fd76773a8af33acf9 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Wed, 7 Aug 2024 21:23:58 -0700 Subject: add server url for openapi spec, proxy headers spec --- kennel/main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'kennel') 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() -- cgit v1.3