mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-06 04:21:55 +00:00
83 lines
1.7 KiB
JSON
83 lines
1.7 KiB
JSON
{
|
|
"cleanUrls": true,
|
|
"redirects": [
|
|
{
|
|
"source": "/authors/crutchcorn/",
|
|
"destination": "/unicorns/crutchcorn",
|
|
"permanent": true
|
|
},
|
|
{
|
|
"source": "/unicorns/",
|
|
"destination": "/about",
|
|
"permanent": false
|
|
},
|
|
{
|
|
"source": "/posts/",
|
|
"destination": "/",
|
|
"permanent": true
|
|
}
|
|
],
|
|
"rewrites": [
|
|
{
|
|
"source": "/areyoumyuser/js/script.js",
|
|
"destination": "https://plausible.io/js/script.outbound-links.local.js"
|
|
},
|
|
{
|
|
"source": "/areyoumyuser/api/event",
|
|
"destination": "https://plausible.io/api/event"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"source": "/(.*).(ttf|woff2)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=31536000, immutable"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/(.*)",
|
|
"headers": [
|
|
{
|
|
"key": "Content-Security-Policy",
|
|
"value": "default-src 'self';base-uri 'self';form-action 'self' https://unicorn-utterances.com/ https://app.convertkit.com/;frame-ancestors 'none';frame-src https:;img-src 'self' https: data:;object-src 'none';script-src 'self' 'unsafe-inline';script-src-attr 'none';style-src 'self' 'unsafe-inline';upgrade-insecure-requests"
|
|
},
|
|
{
|
|
"key": "Cross-Origin-Opener-Policy",
|
|
"value": "same-origin"
|
|
},
|
|
{
|
|
"key": "Cross-Origin-Resource-Policy",
|
|
"value": "same-origin"
|
|
},
|
|
{
|
|
"key": "Referrer-Policy",
|
|
"value": "no-referrer"
|
|
},
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
},
|
|
{
|
|
"key": "X-Download-Options",
|
|
"value": "noopen"
|
|
},
|
|
{
|
|
"key": "X-Frame-Options",
|
|
"value": "DENY"
|
|
},
|
|
{
|
|
"key": "X-Permitted-Cross-Domain-Policies",
|
|
"value": "DENY"
|
|
},
|
|
{
|
|
"key": "X-XSS-Protection",
|
|
"value": "0"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|