mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-13 13:12:42 +00:00
Seems GA also needs data: urls sometimes
This commit is contained in:
@ -42,7 +42,7 @@ class PgMiddleware(object):
|
||||
sources = OrderedDict([
|
||||
('default', ["'self'", ]),
|
||||
('img', ['*', 'data:', ]),
|
||||
('script', ["'self'", "www.google-analytics.com", "ssl.google-analytics.com"]),
|
||||
('script', ["'self'", "www.google-analytics.com", "ssl.google-analytics.com", "data:"]),
|
||||
('connect', ["'self'", "www.google-analytics.com", "ssl.google-analytics.com"]),
|
||||
('media', ["'self'", ]),
|
||||
('style', ["'self'", "fonts.googleapis.com"]),
|
||||
|
Reference in New Issue
Block a user