Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

favicon.ico #76

Open
MaxThom opened this issue Oct 12, 2021 · 0 comments
Open

favicon.ico #76

MaxThom opened this issue Oct 12, 2021 · 0 comments

Comments

@MaxThom
Copy link

MaxThom commented Oct 12, 2021

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant