Skip to content
Snippets Groups Projects

Add Content-Security-Policy header

Merged Tae Hoon requested to merge tae/pleroma-fe:csp-header into develop
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
+ 3
0
@@ -24,6 +24,9 @@ var devMiddleware = require('webpack-dev-middleware')(compiler, {
stats: {
colors: true,
chunks: false
},
headers: {
'content-security-policy': "base-uri 'self'; frame-ancestors 'none'; img-src 'self' data: https:; media-src 'self' https:; style-src 'self' 'unsafe-inline'; font-src 'self'; manifest-src 'self'; script-src 'self' 'unsafe-eval';"
}
})
Loading