Skip to content

favicon.ico #76

@MaxThom

Description

@MaxThom

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
image

Any idea ?
Repo link in case: https://github.com/MaxThom/cozylamp
Thank you !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions