Skip to content

Commit 5479f7c

Browse files
Jeffreyhungoioki
andauthored
fix(changelog): Fix CSP (#12823)
* including required items to CSP * remove duplicated item * Revert "remove duplicated item" This reverts commit 1f36234. * allow connect-src to `storage.googleapis.com` for admin image uploads * also keep connect-src to `sentry.sentry.io` for less reports --------- Co-authored-by: Alexander Tarasov <[email protected]>
1 parent 72f5773 commit 5479f7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/changelog/vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
},
1818
{
1919
"key": "Content-Security-Policy-Report-Only",
20-
"value": "default-src 'none'; font-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' plausible.io 'unsafe-inline' 'unsafe-eval' 'report-sample'; img-src 'self' storage.googleapis.com; worker-src blob:; connect-src o1.ingest.us.sentry.io plausible.io 'self' changelog.sentry.dev sentry.sentry.io; report-uri https://o1.ingest.us.sentry.io/api/4507670276341760/security/?sentry_key=e90f5ea060a4102c0a4c50c740e43ae1;"
20+
"value": "default-src 'none'; font-src 'self'; style-src 'self' 'unsafe-inline'; script-src 'self' plausible.io 'unsafe-inline' 'unsafe-eval' 'report-sample'; img-src 'self' changelog.sentry.dev lh3.googleusercontent.com storage.googleapis.com; worker-src blob:; connect-src o1.ingest.us.sentry.io plausible.io 'self' changelog.sentry.dev sentry.io sentry.sentry.io storage.googleapis.com; report-uri https://o1.ingest.us.sentry.io/api/4507670276341760/security/?sentry_key=e90f5ea060a4102c0a4c50c740e43ae1;"
2121
}
2222
]
2323
}

0 commit comments

Comments
 (0)