1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 14:25:31 -04:00

add real /stats page

This commit is contained in:
2022-04-25 00:04:12 -04:00
parent 07562f625e
commit 7e4f6f1443
5 changed files with 100 additions and 47 deletions

View File

@@ -87,6 +87,10 @@ module.exports = (phase, { defaultConfig }) => {
key: "Onion-Location",
value: `${config.onionDomain}/:path*`,
},
{
key: "x-got-milk",
value: "2%",
},
],
},
{
@@ -139,11 +143,6 @@ module.exports = (phase, { defaultConfig }) => {
// misc. crap:
{ source: "/resume/", destination: "/static/resume.pdf", permanent: false },
{ source: "/resume.pdf", destination: "/static/resume.pdf", permanent: false },
{
source: "/stats/",
destination: `https://app.usefathom.com/share/${config.fathomSiteId}/${config.siteDomain}`,
permanent: false,
},
{ source: "/jarvis.asc", destination: "/pubkey.asc", permanent: true },
{ source: "/scrabble/:path*", destination: "https://jakejarvis.github.io/scrabble/:path*", permanent: false },
],