mirror of
https://github.com/postgres/pgweb.git
synced 2025-07-25 16:02:27 +00:00
Allow all of google-analytics in CSP
It needs a tleast both www.google-analytics and ssl.google-analytics..
This commit is contained in:
@ -42,7 +42,7 @@ class PgMiddleware(object):
|
||||
sources = OrderedDict([
|
||||
('default', ["'self'", ]),
|
||||
('img', ['*', ]),
|
||||
('script', ["'self'", "www.google-analytics.com"]),
|
||||
('script', ["'self'", "google-analytics.com"]),
|
||||
('media', ["'self'", ]),
|
||||
('style', ["'self'", "fonts.googleapis.com"]),
|
||||
('font', ["'self'", "fonts.gstatic.com"]),
|
||||
|
Reference in New Issue
Block a user