diff --git a/ckanext/noanonaccess/plugin.py b/ckanext/noanonaccess/plugin.py index 16f826d..bc4d04c 100644 --- a/ckanext/noanonaccess/plugin.py +++ b/ckanext/noanonaccess/plugin.py @@ -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):