Some flask thing is not working, but i can't tell what.
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
app.run('0.0.0.0', debug=True), you have the
app.route(). Remove that. and it will work. Also, you might want to change the
run to this.