mirror of
https://github.com/hectorm/hblock.git
synced 2026-04-21 14:36:34 +05:30
36 lines
812 B
JSON
36 lines
812 B
JSON
{
|
|
"hosting": {
|
|
"public": "dist",
|
|
"headers": [{
|
|
"source": "**",
|
|
"headers": [{
|
|
"key": "Content-Security-Policy",
|
|
"value": "default-src 'none'; style-src 'unsafe-inline'; img-src data:;"
|
|
}, {
|
|
"key": "X-XSS-Protection",
|
|
"value": "1;mode=block"
|
|
}, {
|
|
"key": "X-Frame-Options",
|
|
"value": "SAMEORIGIN"
|
|
}]
|
|
}, {
|
|
"source": "**/@(*.txt|hosts)",
|
|
"headers": [{
|
|
"key": "Content-Type",
|
|
"value": "text/plain; charset=utf-8"
|
|
}]
|
|
}, {
|
|
"source": "**/*.zip",
|
|
"headers": [{
|
|
"key": "Content-Type",
|
|
"value": "application/zip"
|
|
}]
|
|
}, {
|
|
"source": "**/*.gz",
|
|
"headers": [{
|
|
"key": "Content-Type",
|
|
"value": "application/gzip"
|
|
}]
|
|
}]
|
|
}
|
|
}
|