Add hand-drawn sketch favicon and PWA icons, align popup form labels above inputs, and compact shopping list typography
This commit is contained in:
@@ -242,6 +242,13 @@ def get_service_worker():
|
||||
return FileResponse(sw_path, media_type="application/javascript", headers={"Service-Worker-Allowed": "/"})
|
||||
raise HTTPException(status_code=404, detail="Service worker not found")
|
||||
|
||||
@app.get("/favicon.ico")
|
||||
def get_favicon():
|
||||
ico_path = os.path.join(STATIC_DIR, "favicon.ico")
|
||||
if os.path.exists(ico_path):
|
||||
return FileResponse(ico_path, media_type="image/x-icon")
|
||||
raise HTTPException(status_code=404, detail="Favicon not found")
|
||||
|
||||
|
||||
# ==========================================
|
||||
# AUTH VIEWS
|
||||
|
||||
Reference in New Issue
Block a user