What's The Best Way To Disable The Default /console Route In Flask Debug Mode?
I want my application's dashboard area to be called /console. However, Flask uses werkzeug.debug.DebuggedApplication (http://werkzeug.pocoo.org/docs/debug/), which uses /console as
Solution 1:
Set use_evalex=False
in your app.run
call to disable the console but still have reloading and the pretty Werkzeug "Don't Panic" debugger:
if __name__ == '__main__':
app.run(debug=True, use_evalex=False)
Post a Comment for "What's The Best Way To Disable The Default /console Route In Flask Debug Mode?"