Skip to content

Commit

Permalink
Merge pull request #488 from entur/fix/header-error
Browse files Browse the repository at this point in the history
Fix permissions-policy header
  • Loading branch information
Collatty authored Oct 14, 2021
2 parents 252406a + cfaba77 commit 1f54c74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
{
"key": "Permissions-Policy",
"value": "geolocation=(self);"
"value": "geolocation=(self)"
},
{
"key": "Referrer-Policy",
Expand Down
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ module.exports = (env, args) => ({
headers: {
'Content-Security-Policy':
"child-src 'self' blob:;default-src 'self'; script-src 'self' 'unsafe-inline' https://www.google-analytics.com https://apis.google.com blob:; connect-src 'self' wss://*.entur.io https://api.met.no https://stats.g.doubleclick.net https://*.tiles.mapbox.com https://api.mapbox.com https://events.mapbox.com https://*.entur.io https://*.entur.org https://*.cloudfunctions.net https://*.googleapis.com https://www.google-analytics.com; style-src 'self' 'unsafe-inline'; img-src 'self' blob: data: https://www.google.no https://www.google.com https://*.googleapis.com https://www.google-analytics.com; object-src 'none'; frame-ancestors https:; manifest-src 'self' blob:; frame-src https://entur-tavla-staging.firebaseapp.com/ https://entur-tavla-prod.firebaseapp.com/",
'Permissions-Policy': 'geolocation=(self)',
},
},
plugins: [
Expand Down

0 comments on commit 1f54c74

Please sign in to comment.