Skip to content

Commit

Permalink
fix: csp
Browse files Browse the repository at this point in the history
  • Loading branch information
mariojsnunes committed Sep 21, 2024
1 parent e9f1aad commit d198b29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ app.use(
'firestore.googleapis.com',
'identitytoolkit.googleapis.com',
'*.openstreetmap.org',
'*.firebaseio.com',
...wsUrls,
],
defaultSrc: [
Expand All @@ -68,6 +69,7 @@ app.use(
"'unsafe-eval'",
"'unsafe-inline'",
'*.firebasedatabase.app',
'*.firebaseio.com',
],
frameSrc: [
"'self'",
Expand Down

0 comments on commit d198b29

Please sign in to comment.