mirror of
https://github.com/xHyroM/website.git
synced 2024-11-22 23:11:06 +01:00
chore: add verel config for CSP
This commit is contained in:
parent
23ce01cfeb
commit
332458b14f
1 changed files with 13 additions and 0 deletions
13
vercel.json
Normal file
13
vercel.json
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"source": "/(.*)",
|
||||||
|
"headers" : [
|
||||||
|
{
|
||||||
|
"key" : "Content-Security-Policy",
|
||||||
|
"value" : "img-src 'self'; font-src *; style-src 'self' 'unsafe-inline' fonts.googleapis.com; script-src 'self'; object-src 'none'"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in a new issue