mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-16 18:55:30 -04:00
try mirroring some more external APIs
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: "Jake Jarvis – Front-End Web Developer in Boston, MA 👨💻"
|
title: "Jake Jarvis – Front-End Web Developer in Boston, MA 👨💻"
|
||||||
date: 2020-09-05 11:13:43-0400
|
date: 2020-10-29 14:09:40-0400
|
||||||
type: home
|
type: home
|
||||||
sitemap:
|
sitemap:
|
||||||
priority: 1.0
|
priority: 1.0
|
||||||
@@ -18,7 +18,7 @@ sitemap:
|
|||||||
|
|
||||||
My current focus is on <a href="https://jamstack.wtf/" title="WTF is JAMstack?" id="jamstack" target="_blank" rel="noopener">the JAMstack</a> and <a href="https://stackoverflow.blog/2018/01/11/brutal-lifecycle-javascript-frameworks/" title=""The Brutal Lifecycle of JavaScript Frameworks" by Ian Allen" id="javascript" target="_blank" rel="noopener">modern JavaScript frameworks</a> like <a href="https://reactjs.org/" title="React Official Website" id="react" target="_blank" rel="noopener">React</a> and <a href="https://angular.io/" title="Angular Official Website" id="angular" target="_blank" rel="noopener">Angular</a> in front of <a href="https://nodejs.org/en/" title="Node.js Official Website" id="node" target="_blank" rel="noopener">Node</a> and <a href="https://golang.org/" title="Golang Official Website" id="golang" target="_blank" rel="noopener">Go</a> backends...
|
My current focus is on <a href="https://jamstack.wtf/" title="WTF is JAMstack?" id="jamstack" target="_blank" rel="noopener">the JAMstack</a> and <a href="https://stackoverflow.blog/2018/01/11/brutal-lifecycle-javascript-frameworks/" title=""The Brutal Lifecycle of JavaScript Frameworks" by Ian Allen" id="javascript" target="_blank" rel="noopener">modern JavaScript frameworks</a> like <a href="https://reactjs.org/" title="React Official Website" id="react" target="_blank" rel="noopener">React</a> and <a href="https://angular.io/" title="Angular Official Website" id="angular" target="_blank" rel="noopener">Angular</a> in front of <a href="https://nodejs.org/en/" title="Node.js Official Website" id="node" target="_blank" rel="noopener">Node</a> and <a href="https://golang.org/" title="Golang Official Website" id="golang" target="_blank" rel="noopener">Go</a> backends...
|
||||||
|
|
||||||
...but I'm fluent in classics like <a href="https://stitcher.io/blog/php-in-2019" title=""PHP in 2019" by Brent Roose" id="php" target="_blank" rel="noopener">PHP</a>, <a href="https://www.ruby-lang.org/en/" title="Ruby Official Website" id="ruby" target="_blank" rel="noopener">Ruby</a>, <a href="https://www.python.org/" title="Python Official Website" id="python" target="_blank" rel="noopener">Python</a>, and <a href="https://go.java/index.html" title="Java Official Website" id="java" target="_blank" rel="noopener">Java</a> as well.
|
...but I'm fluent in classics like <a href="https://stitcher.io/blog/php-in-2020" title=""PHP in 2020" by Brent Roose" id="php" target="_blank" rel="noopener">PHP</a>, <a href="https://www.ruby-lang.org/en/" title="Ruby Official Website" id="ruby" target="_blank" rel="noopener">Ruby</a>, <a href="https://www.python.org/" title="Python Official Website" id="python" target="_blank" rel="noopener">Python</a>, and <a href="https://go.java/index.html" title="Java Official Website" id="java" target="_blank" rel="noopener">Java</a> as well.
|
||||||
|
|
||||||
Whenever possible, I also apply my passion for <a href="https://bugcrowd.com/jakejarvis" title="Jake Jarvis on Bugcrowd" id="infosec" target="_blank" rel="me noopener">information security</a>, <a href="https://martinfowler.com/articles/serverless.html" title=""Serverless Architectures" by Mike Roberts" id="server" target="_blank" rel="noopener">server<span id="serverless">(less)</span> architecture</a>, <a href="https://xkcd.com/1319/" title=""Automation" on xkcd" id="devops" target="_blank" rel="noopener">efficient DevOps automation</a>, and the <a href="https://blog.jessfraz.com/post/docker-containers-on-the-desktop/" title=""Docker Containers on the Desktop" by Jessie Frazelle" id="containers" target="_blank" rel="noopener">containerization of everything</a>.
|
Whenever possible, I also apply my passion for <a href="https://bugcrowd.com/jakejarvis" title="Jake Jarvis on Bugcrowd" id="infosec" target="_blank" rel="me noopener">information security</a>, <a href="https://martinfowler.com/articles/serverless.html" title=""Serverless Architectures" by Mike Roberts" id="server" target="_blank" rel="noopener">server<span id="serverless">(less)</span> architecture</a>, <a href="https://xkcd.com/1319/" title=""Automation" on xkcd" id="devops" target="_blank" rel="noopener">efficient DevOps automation</a>, and the <a href="https://blog.jessfraz.com/post/docker-containers-on-the-desktop/" title=""Docker Containers on the Desktop" by Jessie Frazelle" id="containers" target="_blank" rel="noopener">containerization of everything</a>.
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
{{ with .Site.Params.social.webmentionIO }}
|
{{ if .Site.Params.social.webmentionIO }}
|
||||||
<link rel="pingback" href="https://webmention.io/{{ . }}/xmlrpc">
|
<link rel="pingback" href="{{ "api/ping" | absURL }}">
|
||||||
<link rel="webmention" href="https://webmention.io/{{ . }}/webmention">
|
<link rel="webmention" href="{{ "api/mention" | absURL }}">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
34
netlify.toml
34
netlify.toml
@@ -78,7 +78,39 @@
|
|||||||
status = 301
|
status = 301
|
||||||
force = true
|
force = true
|
||||||
|
|
||||||
# Prettier URLs for Netlify Functions
|
# External API redirects/mirrors:
|
||||||
|
# Must set `force = true` and wildcard /api/* rule goes last.
|
||||||
|
## Report URI
|
||||||
|
[[redirects]]
|
||||||
|
from = "/api/report"
|
||||||
|
to = "https://jarvis.report-uri.com/a/d/g"
|
||||||
|
status = 200
|
||||||
|
force = true
|
||||||
|
[[headers]]
|
||||||
|
for = "/*"
|
||||||
|
[headers.values]
|
||||||
|
NEL = '''
|
||||||
|
{"report_to":"default","max_age":604800}'''
|
||||||
|
Report-To = '''
|
||||||
|
{"group":"default","max_age":604800,"endpoints":[{"url":"https://jarv.is/api/report"}],"include_subdomains":false}'''
|
||||||
|
# More security headers:
|
||||||
|
Referrer-Policy = "no-referrer-when-downgrade"
|
||||||
|
X-Content-Type-Options = "nosniff"
|
||||||
|
X-Frame-Options = "SAMEORIGIN"
|
||||||
|
X-Xss-Protection = "1; mode=block"
|
||||||
|
X-Got-Milk = "2%"
|
||||||
|
## Webmention.io
|
||||||
|
[[redirects]]
|
||||||
|
from = "/api/mention"
|
||||||
|
to = "https://webmention.io/jarv.is/webmention"
|
||||||
|
status = 307 # like temporary 302 redirect but retains POST data
|
||||||
|
force = true
|
||||||
|
[[redirects]]
|
||||||
|
from = "/api/ping"
|
||||||
|
to = "https://webmention.io/jarv.is/xmlrpc"
|
||||||
|
status = 307
|
||||||
|
force = true
|
||||||
|
## Prettier URLs for Netlify Functions
|
||||||
[[redirects]]
|
[[redirects]]
|
||||||
from = "/api/*"
|
from = "/api/*"
|
||||||
to = "/.netlify/functions/:splat"
|
to = "/.netlify/functions/:splat"
|
||||||
|
Reference in New Issue
Block a user