mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-09 10:13:42 +00:00
Merge branch 'csp-header' into 'develop'
Add Content-Security-Policy header See merge request pleroma/pleroma-fe!856
This commit is contained in:
commit
0a7c60c303
1 changed files with 3 additions and 0 deletions
|
@ -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…
Reference in a new issue