Skip to content

Commit

Permalink
[#1] Enable temporary download path
Browse files Browse the repository at this point in the history
  • Loading branch information
dedenbangkit committed Nov 8, 2024
1 parent 1a89571 commit e4eb8fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ckanext-agra-theme/ckanext/agra_theme/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __call__(self, environ, start_response):
"/user/reset", # Reset password page
"/about",
]
resource_paths = ["/base/", "/public/", "/fanstatic/"]
resource_paths = ["/base/", "/public/", "/fanstatic/", "/download/"]
allowed_resource = [".jpg", ".png", ".css", ".js"]
if path.startswith(tuple(resource_paths)) or path.endswith(
tuple(allowed_resource)
Expand Down

0 comments on commit e4eb8fc

Please sign in to comment.