Replies: 1 comment 1 reply
-
If you dont have the urls in use as is,I recommend using https://werkzeug.palletsprojects.com/en/3.0.x/routing/#werkzeug.routing.AnyConverter As for the defaults redirect, at first glance it looks like different trailing slashes might cause confusion Personally id recommend having distinct urls and not using a default with redirect |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my code I have the following:
I would expect that when pointing a request to /refresh/app, I'd get refresh_expiring_jwts executed. Instead, I am getting back a permanent redirect to "/refresh/". I have checked the urls map and there are two rules pointing to the same method, one for /refresh and another for /refresh/. At the same time, I see that in the definition of Map (line, 99) is set to True, with this description for the parameter:
This map is used in the initialization of MapAdapter, line 391, and then in then in line 628, for match():
So... I think I am missing something here? What am I doing wrong?
Environment:
Beta Was this translation helpful? Give feedback.
All reactions