Skip to content

Commit

Permalink
Merge pull request #397 from decentraland/fix/allow-places-site-in-csp
Browse files Browse the repository at this point in the history
fix: Allow places site in CPS
  • Loading branch information
LautaroPetaccio committed Nov 21, 2023
2 parents 33fa7a9 + 3eb18e3 commit 39cc844
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,37 +89,51 @@ app.use(env("NEW_ROLLOUT") !== undefined ? "/places" : "/", [
"https://decentraland.org",
"https://decentraland.today",
"https://decentraland.zone",
"https://*.decentraland.org",
"https://*.decentraland.today",
"https://*.decentraland.zone",
// Used to test the proxied service
// "http://192.168.1.8:*",
],
styleSrc: [
"https://decentraland.org",
"https://decentraland.today",
"https://decentraland.zone",
"https://*.decentraland.org",
"https://*.decentraland.today",
"https://*.decentraland.zone",
// Used to test the proxied service
// "http://192.168.1.8:*",
],
imgSrc: [
"https://decentraland.org",
"https://decentraland.today",
"https://decentraland.zone",
"https://*.decentraland.org",
"https://*.decentraland.today",
"https://*.decentraland.zone",
// Used to test the proxied service
// "http://192.168.1.8:*",
],
manifestSrc: [
"https://decentraland.org",
"https://decentraland.today",
"https://decentraland.zone",
"https://*.decentraland.org",
"https://*.decentraland.today",
"https://*.decentraland.zone",
// Used to test the proxied service
// "http://192.168.1.8:*",
],
scriptSrc: [
"https://decentraland.org",
"https://decentraland.today",
"https://decentraland.zone",
"https://*.decentraland.org",
"https://*.decentraland.today",
"https://*.decentraland.zone",
// Used to test the proxied service
// "http://192.168.1.8:*",
"https://*.decentraland.org",
"https://connect.facebook.net",
"http://*.hotjar.com:*",
"https://*.hotjar.com:*",
Expand Down Expand Up @@ -150,6 +164,9 @@ app.use(env("NEW_ROLLOUT") !== undefined ? "/places" : "/", [
"https://decentraland.org",
"https://decentraland.today",
"https://decentraland.zone",
"https://*.decentraland.org",
"https://*.decentraland.today",
"https://*.decentraland.zone",
// Used to test the proxied service
// "http://192.168.1.8:*",
].join(" "),
Expand Down

0 comments on commit 39cc844

Please sign in to comment.