mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-10-19 23:16:23 -04:00
syntax highlighting!
This commit is contained in:
1 parent
a00014d33a
commit
b4953407ee
6 files changed
+86
-15
No files matched your search
@@ -26,7 +26,7 @@ If you run your own server, these can be added by way of your Apache or nginx co
|
||||
|
||||
The following script can be added as a Worker and customized to your needs. Some can be extremely picky with syntax, so be sure to [read the documentation](https://www.netsparker.com/whitepaper-http-security-headers/) carefully. You can fiddle with it in [the playground](https://cloudflareworkers.com/), too. Simply modify the current headers to your needs, or add new ones to the `newHeaders` or `removeHeaders` arrays.
|
||||
|
||||
```
|
||||
```js
|
||||
let newHeaders = {
|
||||
"Content-Security-Policy": "default-src 'self'; upgrade-insecure-requests",
|
||||
"Strict-Transport-Security" : "max-age=1000",
|
||||
|
||||
Reference in new issue
Block a user