From abb0b69013eec69768b62bf32e4deae6b70d6313 Mon Sep 17 00:00:00 2001 From: Goldy <153996346+g0ldyy@users.noreply.github.com> Date: Mon, 1 Jul 2024 01:46:13 +0200 Subject: [PATCH] final touch --- comet/api/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comet/api/core.py b/comet/api/core.py index b590039..9435df0 100644 --- a/comet/api/core.py +++ b/comet/api/core.py @@ -31,7 +31,7 @@ async def health(): @main.get("/configure") @main.get("/{b64config}/configure") async def configure(request: Request): - return templates.TemplateResponse("index.html", {"request": request, "CUSTOM_HEADER_HTML": settings.CUSTOM_HEADER_HTML if settings.CUSTOM_HEADER_HTML else "", "webConfig": webConfig}) + return templates.TemplateResponse("index.html", {"request": request, "CUSTOM_HEADER_HTML": settings.CUSTOM_HEADER_HTML if settings.CUSTOM_HEADER_HTML and settings.CUSTOM_HEADER_HTML != "None" else "", "webConfig": webConfig}) @main.get("/manifest.json")