Skip to content

Commit

Permalink
fix(headers): temporarily disable trusted types
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Aug 23, 2022
1 parent 30ab99a commit d62ac8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nuxt/server/middleware/headers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ const csp: Record<string, Array<string>> = {
'manifest-src': ["'self'"],
'prefetch-src': ["'self'"],
'report-uri': ['https://dargmuesli.report-uri.com/r/d/csp/enforce'],
'require-trusted-types-for': ["'script'"], // csp-evaluator
// TODO: https://stackoverflow.com/questions/62081028/this-document-requires-trustedscripturl-assignment
// 'require-trusted-types-for': ["'script'"], // csp-evaluator
'script-src': [
'blob:',
"'self'",
Expand Down

0 comments on commit d62ac8c

Please sign in to comment.