Ask coding questions

← Back to all posts
Some flask thing is not working, but i can't tell what.
isaiah08 (63)

This is my first time using the @app.before_request, so i'm guessing that's the thing that's wrong.



your error is because on your'', debug=True), you have the app.route(). Remove that. and it will work. Also, you might want to change the run to this.'', port='8080')
isaiah08 (63)

Never mind, i figured it out by myself. @RYANTADIPARTHI

isaiah08 (63)

I can't mark my own answer as correct. @RYANTADIPARTHI