Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

flask return 404

I had the same issue. I had it because I changed the parameters SERVER_NAMEof the config to a name which is not the name of the server.

You can solve this bug by removing SERVER_NAME from the config if you have it.
Source by flask.palletsprojects.com #
 
PREVIOUS NEXT
Tagged: #flask #return
ADD COMMENT
Topic
Name
5+1 =