This is required since if this is not there, then ...
# support-questions-legacy
t
# This is required since if this is not there, then OPTIONS requests for # the APIs exposed by the supertokens' Middleware will return a 404 @app.route('/', defaults={'u_path': ''}) @app.route('/') def catch_all(u_path: str): abort(404) why is this required from a backend point of view to allow options request
r
Hey. Erich framework are you using?
t
flask
Couldn't understand the reason why this is needed to allow options request
r
I think that’s a flask specific thing
Otherwise flask gives a 404
t
But this eseentially means catching all the routes and aborting with 404 , how does it help ?
r
no i think without this, there is no response sent. I don't recall why this was needed now, but you can remove it and try and experiment