Skip to content

Commit

Permalink
fix none header
Browse files Browse the repository at this point in the history
  • Loading branch information
g0ldyy committed Jun 30, 2024
1 parent b9eeae9 commit 123b2f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion comet/api/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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, "webConfig": webConfig})
return templates.TemplateResponse("index.html", {"request": request, "CUSTOM_HEADER_HTML": settings.CUSTOM_HEADER_HTML if settings.CUSTOM_HEADER_HTML else "", "webConfig": webConfig})


@main.get("/manifest.json")
Expand Down

0 comments on commit 123b2f1

Please sign in to comment.