Skip to content

Commit

Permalink
revert headers settings
Browse files Browse the repository at this point in the history
  • Loading branch information
janmichek committed Jul 23, 2024
1 parent 4b6bd7a commit 9947a36
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/server/plugins/response-headers.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default defineNitroPlugin(nitroApp => {
'Content-Security-Policy': [
'default-src \'self\' *',
'font-src \'self\' data:',
'img-src \'self\' data: https://avatars.z52da5wt.xyz',
'img-src \'self\' data:',
'script-src \'self\' \'unsafe-inline\'',
'style-src \'self\' \'unsafe-inline\'',
'frame-src \'self\'',
Expand All @@ -31,7 +31,6 @@ export default defineNitroPlugin(nitroApp => {
].join('; '),
}


nitroApp.hooks.hook('render:response', response => {
delete response.headers['x-powered-by']

Expand Down

0 comments on commit 9947a36

Please sign in to comment.