We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c4e202 commit a980041Copy full SHA for a980041
bridger/http.py
@@ -67,9 +67,9 @@ async def get_displaynames_all(request):
67
return web.json_response(displaynames)
68
69
70
-@routes.get("/logo/logo.png")
71
-async def get_logo(request):
72
logo_path = os.path.join(os.path.dirname(__file__), "../logo/logo.png")
+ if not os.path.exists(logo_path):
+ return web.Response(status=404, text="Logo not found")
73
return web.FileResponse(logo_path)
74
75
0 commit comments