💭 Flask Trailing Slashes 404 ============================ !https://stackoverflow.com/questions/33241050/trailing-slash-triggers-404-in-flask-path-rule Date: July 28, 2023 Trailing slash triggers 404 in Flask path rule I want to redirect any path under /users to a static app. The following view should capture these paths and serve the appropriate file (it just prints the path for this example). This works for /... Stack Overflow · stackoverflow.com [1] In flask apps I often get a 404 for routes with a trailing slash. This Stack Overflow post shows how to configure flask to allow trailing slashes on some or all routes. !!! note This post is a thought [2]. It's a short note that I make about someone else's content online #thoughts [3] References: [1]: https://stackoverflow.com/questions/33241050/trailing-slash-triggers-404-in-flask-path-rule [2]: /thoughts/ [3]: /tags/thoughts/