mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-02-20 01:06:01 +08:00
added headers to prevent clickjacking
This commit is contained in:
parent
63d5e65f68
commit
5af083ab6c
1 changed files with 13 additions and 1 deletions
|
|
@ -13,6 +13,18 @@
|
|||
}
|
||||
],
|
||||
"cleanUrls": true,
|
||||
"trailingSlash": false
|
||||
"trailingSlash": false,
|
||||
"headers": [
|
||||
{
|
||||
"source": "**/*",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Content-Security-Policy",
|
||||
"value": "frame-ancestors 'none'"
|
||||
},
|
||||
{ "key": "X-Frame-Options", "value": "DENY" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue