Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Trying to locate 404 Error running python-flask with bootstrap

i am building a webpage application using Flask, Jinja2 and Bootstrap. When running the app i get this error:

* Running on http://localhost:53293/ (Press CTRL+C to quit)
127.0.0.1 - - [20/Jun/2015 19:33:56] "GET / HTTP/1.1" 500 -
127.0.0.1 - - [20/Jun/2015 19:33:56] "GET /favicon.ico HTTP/1.1" 404 -

The app is based on the Visual Studio 2015rc python template Flask Web Project which worked fine.

None of my changes included a favicon, i searched the complete project including external files for favicon, icon, .ico but found nothing.

Does someone have an idea how this error could be caused or how to locate the code requesting the favicon?

like image 467
Niels Avatar asked Feb 09 '23 19:02

Niels


1 Answers

Browsers always try to find a favicon for a site by looking in a standard location, /favicon.ico. You did nothing wrong here.

You could of course include serve a file at that location, if you so wish.

like image 116
Martijn Pieters Avatar answered Feb 12 '23 08:02

Martijn Pieters