File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -135,13 +135,13 @@ app.use(
135135 'https://cdn.syndication.twimg.com' ,
136136 ( req , res ) => `'nonce-${ res . locals . cspNonce } '` ,
137137 ] ,
138- 'script-src-attr' : [
139- "'unsafe-inline'" ,
140- // TODO: figure out how to make the nonce work instead of
141- // unsafe-inline. I tried adding a nonce attribute where we're using
142- // inline attributes, but that didn't work. I still got that it
143- // violated the CSP.
144- ] ,
138+ // 'script-src-attr': [
139+ // "'unsafe-inline'",
140+ // // TODO: figure out how to make the nonce work instead of
141+ // // unsafe-inline. I tried adding a nonce attribute where we're using
142+ // // inline attributes, but that didn't work. I still got that it
143+ // // violated the CSP.
144+ // ],
145145 'upgrade-insecure-requests' : null ,
146146 } ,
147147 } ,
You can’t perform that action at this time.
0 commit comments