1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 04:45:22 -04:00

proxy /tweets site to GitHub pages

This commit is contained in:
Jake Jarvis 2024-02-16 23:56:05 -05:00
parent 6f5c066525
commit 7080350ee7
Signed by: jake
SSH Key Fingerprint: SHA256:nCkvAjYA6XaSPUqc4TfbBQTpzr8Xj7ritg/sGInCdkc
3 changed files with 30 additions and 21 deletions

View File

@ -74,6 +74,15 @@ const nextConfig = {
{ source: "/favicon.png", destination: "/static/favicons/favicon.png" },
{ source: "/apple-touch-icon.png", destination: "/static/favicons/apple-touch-icon.png" },
{ source: "/apple-touch-icon-precomposed.png", destination: "/static/favicons/apple-touch-icon.png" },
{
source: "/tweets/:path*/",
destination: "https://jakejarvis.github.io/tweets/:path*/",
},
{
// rationale for double entries: https://github.com/vercel/next.js/discussions/36219#discussioncomment-4167863
source: "/tweets/:path*",
destination: "https://jakejarvis.github.io/tweets/:path*",
},
],
redirects: async () => [
{

View File

@ -38,7 +38,7 @@
"gray-matter": "^4.0.3",
"next": "14.1.0",
"next-mdx-remote": "^4.4.1",
"next-seo": "^6.4.0",
"next-seo": "^6.5.0",
"obj-str": "^1.1.0",
"p-map": "^7.0.1",
"p-memoize": "^7.1.1",
@ -67,13 +67,13 @@
"remark-unwrap-images": "^4.0.0",
"sitemap": "^7.1.1",
"stitches-normalize": "^3.0.1",
"swr": "^2.2.4",
"swr": "^2.2.5",
"unified": "^11.0.4"
},
"devDependencies": {
"@jakejarvis/eslint-config": "^3.1.0",
"@types/comma-number": "^2.1.2",
"@types/node": "^20.11.18",
"@types/node": "^20.11.19",
"@types/novnc__novnc": "^1.3.4",
"@types/prop-types": "^15.7.11",
"@types/react": "^18.2.55",
@ -113,9 +113,9 @@
"eslint"
]
},
"packageManager": "pnpm@8.15.2",
"packageManager": "pnpm@8.15.3",
"volta": {
"node": "20.11.1",
"pnpm": "8.15.2"
"pnpm": "8.15.3"
}
}

32
pnpm-lock.yaml generated
View File

@ -66,8 +66,8 @@ dependencies:
specifier: ^4.4.1
version: 4.4.1(react-dom@18.2.0)(react@18.2.0)
next-seo:
specifier: ^6.4.0
version: 6.4.0(next@14.1.0)(react-dom@18.2.0)(react@18.2.0)
specifier: ^6.5.0
version: 6.5.0(next@14.1.0)(react-dom@18.2.0)(react@18.2.0)
obj-str:
specifier: ^1.1.0
version: 1.1.0
@ -153,8 +153,8 @@ dependencies:
specifier: ^3.0.1
version: 3.0.1(@stitches/react@1.3.1-1)
swr:
specifier: ^2.2.4
version: 2.2.4(react@18.2.0)
specifier: ^2.2.5
version: 2.2.5(react@18.2.0)
unified:
specifier: ^11.0.4
version: 11.0.4
@ -172,8 +172,8 @@ devDependencies:
specifier: ^2.1.2
version: 2.1.2
'@types/node':
specifier: ^20.11.18
version: 20.11.18
specifier: ^20.11.19
version: 20.11.19
'@types/novnc__novnc':
specifier: ^1.3.4
version: 1.3.4
@ -952,7 +952,7 @@ packages:
/@types/concat-stream@2.0.0:
resolution: {integrity: sha512-t3YCerNM7NTVjLuICZo5gYAXYoDvpuuTceCcFQWcDQz26kxUR5uIWolxbIR5jRNIXpMqhOpW/b8imCR1LEmuJw==}
dependencies:
'@types/node': 20.11.18
'@types/node': 20.11.19
dev: true
/@types/debug@4.1.12:
@ -1029,8 +1029,8 @@ packages:
resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==}
dev: false
/@types/node@20.11.18:
resolution: {integrity: sha512-ABT5VWnnYneSBcNWYSCuR05M826RoMyMSGiFivXGx6ZUIsXb9vn4643IEwkg2zbEOSgAiSogtapN2fgc4mAPlw==}
/@types/node@20.11.19:
resolution: {integrity: sha512-7xMnVEcZFu0DikYjWOlRq7NTPETrm7teqUT2WkQjrTIkEgUyyGdWsj/Zg8bEJt5TNklzbPD1X3fqfsHw3SpapQ==}
dependencies:
undici-types: 5.26.5
@ -1067,7 +1067,7 @@ packages:
/@types/sax@1.2.5:
resolution: {integrity: sha512-9jWta97bBVC027/MShr3gLab8gPhKy4l6qpb+UJLF5pDm3501NvA7uvqVCW+REFtx00oTi6Cq9JzLwgq6evVgw==}
dependencies:
'@types/node': 20.11.18
'@types/node': 20.11.19
dev: false
/@types/scheduler@0.16.4:
@ -4488,8 +4488,8 @@ packages:
- supports-color
dev: false
/next-seo@6.4.0(next@14.1.0)(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-XQFxkOL2hw0YE+P100HbI3EAvcludlHPxuzMgaIjKb7kPK0CvjGvLFjd9hszZFEDc5oiQkGFA8+cuWcnip7eYA==}
/next-seo@6.5.0(next@14.1.0)(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-MfzUeWTN/x/rsKp/1n0213eojO97lIl0unxqbeCY+6pAucViHDA8GSLRRcXpgjsSmBxfCFdfpu7LXbt4ANQoNQ==}
peerDependencies:
next: ^8.1.1-canary.54 || >=9.0.0
react: '>=16.0.0'
@ -5002,7 +5002,7 @@ packages:
date-fns: 2.30.0
react: 18.2.0
react-dom: 18.2.0(react@18.2.0)
swr: 2.2.4(react@18.2.0)
swr: 2.2.5(react@18.2.0)
dev: false
/react@18.2.0:
@ -5680,8 +5680,8 @@ packages:
engines: {node: '>= 0.4'}
dev: true
/swr@2.2.4(react@18.2.0):
resolution: {integrity: sha512-njiZ/4RiIhoOlAaLYDqwz5qH/KZXVilRLvomrx83HjzCWTfa+InyfAjv05PSFxnmLzZkNO9ZfvgoqzAaEI4sGQ==}
/swr@2.2.5(react@18.2.0):
resolution: {integrity: sha512-QtxqyclFeAsxEUeZIYmsaQ0UjimSq1RZ9Un7I68/0ClKK/U3LoyQunwkQfJZr2fc22DfIXLNDc2wFyTEikCUpg==}
peerDependencies:
react: ^16.11.0 || ^17.0.0 || ^18.0.0
dependencies:
@ -5849,7 +5849,7 @@ packages:
'@types/concat-stream': 2.0.0
'@types/debug': 4.1.12
'@types/is-empty': 1.2.1
'@types/node': 20.11.18
'@types/node': 20.11.19
'@types/unist': 3.0.2
'@ungap/structured-clone': 1.2.0
concat-stream: 2.0.0