Static dir 2075 (#2076)
* Add support for nested static directories * Add support for nested static directories * Bump version 21.3.1
This commit is contained in:
@@ -776,7 +776,7 @@ class RouteMixin:
|
||||
# If we're not trying to match a file directly,
|
||||
# serve from the folder
|
||||
if not path.isfile(file_or_directory):
|
||||
uri += "/<__file_uri__>"
|
||||
uri += "/<__file_uri__:path>"
|
||||
|
||||
# special prefix for static files
|
||||
# if not static.name.startswith("_static_"):
|
||||
|
||||
Reference in New Issue
Block a user