We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5843416 commit 8ac6723Copy full SHA for 8ac6723
apps/transport/lib/transport_web/plugs/custom_secure_browser_headers.ex
@@ -43,8 +43,7 @@ defmodule TransportWeb.Plugs.CustomSecureBrowserHeaders do
43
"connect-src" => "*",
44
"font-src" => "*",
45
"frame-ancestors" => "'none'",
46
- "img-src" =>
47
- "'self' data: https://api.mapbox.com https://data.geopf.fr https://static.data.gouv.fr https://www.data.gouv.fr https://*.dmcdn.net #{Transport.S3.permanent_url(:logos)}",
+ "img-src" => "'self' https: data:",
48
"script-src" => "'self' 'unsafe-eval' 'unsafe-inline' https://stats.data.gouv.fr/matomo.js",
49
"frame-src" => "https://*.dailymotion.com",
50
"style-src" => "'self' 'nonce-#{nonce}' #{vega_hash_values}",
0 commit comments