Set Content-Security-Policy
This commit is contained in:
1 parent
af0a8c9fee
commit
870d55b44f
7 files changed
+67
-25
No files matched your search
@@ -117,7 +117,8 @@ Then serve the `dist/` folder, with these requirements:
|
||||
HellCon must reach it unchanged, so don't rewrite them to `index.html`.
|
||||
|
||||
Recommended, as response headers, a `<meta>` can't set them (`index.html` sets
|
||||
`Referrer-Policy: no-referrer` itself):
|
||||
`Referrer-Policy: no-referrer` and the rest of its Content-Security-Policy itself, which keeps out
|
||||
scripts and styles from elsewhere but allows connections to any tracker):
|
||||
|
||||
```
|
||||
Content-Security-Policy: frame-ancestors 'none'
|
||||
|
||||
Reference in new issue
Block a user