Closed peter-gy closed 1 year ago
Flask supports catching wildcard routes through the following syntax:
@test.route("/vacation/<path:filename>") def vacation(filename): return send_file(filename)
Source: https://www.reddit.com/r/flask/comments/6ppkd6/dynamic_or_wildcard_routing/
The current, unnecessarily complex approach of generating URL Rules dynamically should be replaced in favor of this approach. Should rework ea9dce23942baafe6d309633aef75b3df959b257, introduced in #105.
Rule
Closed by #125
Flask supports catching wildcard routes through the following syntax:
Source: https://www.reddit.com/r/flask/comments/6ppkd6/dynamic_or_wildcard_routing/
The current, unnecessarily complex approach of generating URL
Rule
s dynamically should be replaced in favor of this approach. Should rework ea9dce23942baafe6d309633aef75b3df959b257, introduced in #105.