mirror of
https://github.com/postgres/pgweb.git
synced 2025-07-29 11:59:36 +00:00
Another try at fixing google analytics vs CSP
This commit is contained in:
@ -42,7 +42,7 @@ class PgMiddleware(object):
|
||||
sources = OrderedDict([
|
||||
('default', ["'self'", ]),
|
||||
('img', ['*', ]),
|
||||
('script', ["'self'", "google-analytics.com"]),
|
||||
('script', ["'self'", "www.google-analytics.com", "ssl.google-analytics.com"]),
|
||||
('media', ["'self'", ]),
|
||||
('style', ["'self'", "fonts.googleapis.com"]),
|
||||
('font', ["'self'", "fonts.gstatic.com"]),
|
||||
|
Reference in New Issue
Block a user