Skip to content

Commit

Permalink
allow webassets
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminschwetz committed Jul 19, 2021
1 parent b7eece6 commit bcaf3c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ckanext/noanonaccess/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ def __call__(self, environ, start_response):
return self.app(environ,start_response)
elif '/uploads/' in environ['PATH_INFO'] or '/download/' in environ['PATH_INFO']:
return self.app(environ,start_response)
elif environ['PATH_INFO'].startswith('/webassets/'):
return self.app(environ,start_response)
elif (environ['PATH_INFO']).endswith('.rdf'):
return self.app(environ,start_response)
elif 'repoze.who.identity' in environ or self._get_user_for_apikey(environ):
Expand Down

0 comments on commit bcaf3c7

Please sign in to comment.