diff --git a/src/ckanext-agra-theme/ckanext/agra_theme/plugin.py b/src/ckanext-agra-theme/ckanext/agra_theme/plugin.py index 31e8f4c..6e93afd 100644 --- a/src/ckanext-agra-theme/ckanext/agra_theme/plugin.py +++ b/src/ckanext-agra-theme/ckanext/agra_theme/plugin.py @@ -35,8 +35,9 @@ def __call__(self, environ, start_response): "/user/login", # Login page "/user/reset", # Reset password page "/about", + "/download/", ] - resource_paths = ["/base/", "/public/", "/fanstatic/", "/download/"] + resource_paths = ["/base/", "/public/", "/fanstatic/"] allowed_resource = [".jpg", ".png", ".css", ".js"] if path.startswith(tuple(resource_paths)) or path.endswith( tuple(allowed_resource)