added headers to prevent clickjacking

This commit is contained in:
Jack 2021-11-12 17:13:10 +00:00
parent 63d5e65f68
commit 5af083ab6c

View file

@ -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" }
]
}
]
}
}