1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 08:05:23 -04:00

fix /tweets x-robots-tag header

This commit is contained in:
Jake Jarvis 2025-03-31 11:03:49 -04:00
parent 6dcea23ae4
commit 6c32a5ef36
Signed by: jake
SSH Key Fingerprint: SHA256:nCkvAjYA6XaSPUqc4TfbBQTpzr8Xj7ritg/sGInCdkc
3 changed files with 15 additions and 6 deletions

View File

@ -83,6 +83,15 @@ const nextConfig: NextConfig = {
},
],
},
{
source: "/tweets(|/.*)",
headers: [
{
key: "X-Robots-Tag",
value: "noindex, nofollow, nosnippet",
},
],
},
],
rewrites: async () => [
{

View File

@ -37,7 +37,7 @@
"feed": "^4.2.2",
"geist": "^1.3.1",
"html-entities": "^2.6.0",
"lucide-react": "0.485.0",
"lucide-react": "0.486.0",
"modern-normalize": "^3.0.1",
"next": "15.3.0-canary.26",
"obj-str": "^1.1.0",

10
pnpm-lock.yaml generated
View File

@ -69,8 +69,8 @@ importers:
specifier: ^2.6.0
version: 2.6.0
lucide-react:
specifier: 0.485.0
version: 0.485.0(react@19.1.0)
specifier: 0.486.0
version: 0.486.0(react@19.1.0)
modern-normalize:
specifier: ^3.0.1
version: 3.0.1
@ -3068,8 +3068,8 @@ packages:
lru-cache@5.1.1:
resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}
lucide-react@0.485.0:
resolution: {integrity: sha512-NvyQJ0LKyyCxL23nPKESlr/jmz8r7fJO1bkuptSNYSy0s8VVj4ojhX0YAgmE1e0ewfxUZjIlZpvH+otfTnla8Q==}
lucide-react@0.486.0:
resolution: {integrity: sha512-xWop/wMsC1ikiEVLZrxXjPKw4vU/eAip33G2mZHgbWnr4Nr5Rt4Vx4s/q1D3B/rQVbxjOuqASkEZcUxDEKzecw==}
peerDependencies:
react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0
@ -7842,7 +7842,7 @@ snapshots:
dependencies:
yallist: 3.1.1
lucide-react@0.485.0(react@19.1.0):
lucide-react@0.486.0(react@19.1.0):
dependencies:
react: 19.1.0