Skip to content

Commit

Permalink
fix(header): allow connect-src self
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Oct 6, 2022
1 parent bedd0f3 commit 1650e01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nuxt/server/middleware/headers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function getCsp(host: string): Record<string, Array<string>> {
: [
`https://${host}/cdn-cgi/rum`, // Cloudflare real user management (browser insights)
]),
"'self'",
`https://postgraphile.${host}`,
'https://www.google-analytics.com',
],
Expand Down

0 comments on commit 1650e01

Please sign in to comment.