I am trying to split up my routing addresses into separate routing calls but I don't know if it's possible with flask? Does this approach work?
@app.route("/auth")
@app.route("/login")
def login():
#do login stuff
return render_template()
@app.route("/logout")
def logout():
#do logout stuff
return render_template()
@app.route("/register")
def register():
#do register stuff
return render_template()
if I went to address /auth/login, I would expect the routing to first take me to api.route("/auth") and then api.route("/login")