picoweb
picoweb copied to clipboard
favicon.ico
Hey thanks for this superbe little framework.
Im trying to add a favicon to my webapp, but I keep getting this error:
AttributeError("'module' object has no attribute '__path__'",)
My favicon route:
@app.route("/favicon.ico")
def favicon(req, resp):
yield from app.sendfile(resp, "favicon.ico")
I got the icon in the structure and uploaded on the esp32
Any idea ? Repo link in case: https://github.com/MaxThom/cozylamp Thank you !