mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-08-25 16:05:39 -04:00
node 16 is now LTS
This commit is contained in:
+6
-10
@@ -6,6 +6,7 @@
|
||||
"cleanUrls": false,
|
||||
"rewrites": [
|
||||
{ "source": "/favicon.ico", "destination": "/assets/images/favicon.ico" },
|
||||
{ "source": "/favicon.png", "destination": "/assets/images/favicon.png" },
|
||||
{ "source": "/apple-touch-icon.png", "destination": "/assets/images/apple-touch-icon.png" },
|
||||
{
|
||||
"source": "/apple-touch-icon-precomposed.png",
|
||||
@@ -21,6 +22,9 @@
|
||||
],
|
||||
"redirects": [
|
||||
{ "source": "/notes/:slug/amp.html", "destination": "/notes/:slug/", "statusCode": 301 },
|
||||
{ "source": "/resume/", "destination": "/resume.pdf" },
|
||||
{ "source": "/scrabble/(.*)", "destination": "https://jakejarvis.github.io/scrabble/$1" },
|
||||
{ "source": "/jarvis.asc", "destination": "/pubkey.asc", "permanent": true },
|
||||
{ "source": "/index.xml", "destination": "/feed.xml", "permanent": true },
|
||||
{ "source": "/feed/", "destination": "/feed.xml", "permanent": true },
|
||||
{ "source": "/rss/", "destination": "/feed.xml", "permanent": true },
|
||||
@@ -50,15 +54,7 @@
|
||||
"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": [
|
||||
{
|
||||
@@ -92,7 +88,7 @@
|
||||
},
|
||||
{
|
||||
"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"
|
||||
"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; 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",
|
||||
|
||||
Reference in New Issue
Block a user