🏡 My humble abode on the World Wide Web https://jarv.is/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

136 lines
5.3 KiB

{
"name": "jarvis",
"alias": ["jarv.is", "www.jarv.is"],
"public": false,
"trailingSlash": true,
"cleanUrls": false,
"rewrites": [
{ "source": "/favicon.ico", "destination": "/assets/images/favicon.ico" },
{ "source": "/apple-touch-icon.png", "destination": "/assets/images/apple-touch-icon.png" },
{
"source": "/apple-touch-icon-precomposed.png",
"destination": "/assets/images/apple-touch-icon.png"
},
{
"source": "/api/csp_wizard/",
"destination": "https://jarvis.report-uri.com/r/d/csp/enforce"
},
{ "source": "/api/report/", "destination": "https://jarvis.report-uri.com/a/d/g" },
{ "source": "/api/mention/", "destination": "https://webmention.io/jarv.is/webmention" },
{ "source": "/api/ping/", "destination": "https://webmention.io/jarv.is/xmlrpc" }
],
"redirects": [
{ "source": "/notes/:slug/amp.html", "destination": "/notes/:slug/", "statusCode": 301 },
{ "source": "/index.xml", "destination": "/feed.xml", "permanent": true },
{ "source": "/feed/", "destination": "/feed.xml", "permanent": true },
{ "source": "/rss/", "destination": "/feed.xml", "permanent": true },
{ "source": "/blog/(.*)", "destination": "/notes/", "permanent": true },
{ "source": "/archives/(.*)", "destination": "/notes/", "permanent": true },
{
"source": "/2013/11/21/no-homo-still-raps-motto/",
"destination": "/notes/no-homo-still-raps-motto/",
"permanent": true
},
{
"source": "/2016/02/28/millenial-with-hillary-clinton/",
"destination": "/notes/millenial-with-hillary-clinton/",
"permanent": true
},
{
"source": "/2018/12/04/how-to-shrink-linux-virtual-disk-vmware/",
"destination": "/notes/how-to-shrink-linux-virtual-disk-vmware/",
"permanent": true
},
{
"source": "/2018/12/07/shrinking-a-linux-virtual-disk-with-vmware/",
"destination": "/notes/how-to-shrink-linux-virtual-disk-vmware/",
"permanent": true
},
{
"source": "/2018/12/10/cool-bash-tricks-for-your-terminal-dotfiles/",
"destination": "/notes/cool-bash-tricks-for-your-terminal-dotfiles/",
"permanent": true
},
{ "source": "/resume/", "destination": "/resume.pdf" },
{ "source": "/jarvis.asc", "destination": "/pubkey.asc" },
{
"source": "/ios-trackers/(.*)",
"destination": "https://jakejarvis.github.io/ios-trackers/$1"
},
{ "source": "/awesome/(.*)", "destination": "https://synonymsforawesome.com/" },
{ "source": "/scrabble/(.*)", "destination": "https://jakejarvis.github.io/scrabble/$1" }
],
"headers": [
{
"source": "/assets/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
},
{
"source": "/pubkey.asc",
"headers": [
{
"key": "Cache-Control",
"value": "private, no-cache, no-store, must-revalidate"
},
{
"key": "Content-Type",
"value": "text/plain; charset=utf-8"
}
]
},
{
"source": "/(.*)",
"headers": [
{
"key": "Onion-Location",
"value": "http://jarvis2i2vp4j4tbxjogsnqdemnte5xhzyi7hziiyzxwge3hzmh57zad.onion/$1"
},
{
"key": "Content-Security-Policy",
"value": "default-src 'self'; base-uri 'none'; connect-src 'self' api.github.com hcaptcha.com *.hcaptcha.com platform.twitter.com; font-src 'self'; form-action 'self'; frame-ancestors 'self'; frame-src 'self' jakejarvis.github.io buttons.github.io codepen.io hcaptcha.com *.hcaptcha.com platform.twitter.com www.youtube-nocookie.com; img-src 'self' data: https:; manifest-src 'self'; media-src 'self' data: https:; object-src 'none'; prefetch-src 'self'; script-src 'self' buttons.github.io gist.github.com hcaptcha.com *.hcaptcha.com syndication.twitter.com platform.twitter.com 'sha256-y3Xr/40/KQnUvqk/kZO5us6t3i/I49BsbYjsH8ELhVg='; style-src 'self' 'unsafe-inline' github.githubassets.com; worker-src 'self'; block-all-mixed-content; report-uri https://jarv.is/api/csp_wizard/; report-to default"
},
{
"key": "Report-To",
"value": "{\"group\":\"default\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://jarv.is/api/report/\"}],\"include_subdomains\":false}"
},
{
"key": "NEL",
"value": "{\"report_to\":\"default\",\"max_age\":604800}"
},
{
"key": "Feature-Policy",
"value": "accelerometer 'none'; camera 'none'; geolocation 'none'; gyroscope 'none'; magnetometer 'none'; microphone 'none'; payment 'none'; usb 'none'"
},
{
"key": "Permissions-Policy",
"value": "accelerometer=(), camera=(), geolocation=(), gyroscope=(), magnetometer=(), microphone=(), payment=(), usb=(), interest-cohort=()"
},
{
"key": "Referrer-Policy",
"value": "no-referrer-when-downgrade"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "X-XSS-Protection",
"value": "1; mode=block"
},
{
"key": "X-Got-Milk",
"value": "2%"
}
]
}
]
}