Skip to content

Commit 8a62f75

Browse files
authored
fix: add nofollow attribute to error logs link (#1076)
This should prevent google from trying to crawl a private link to the error logs. The proper solution is to hide this link when the viewer is not a member of the packagephobia team since humans get confused by this too, but I am too lazy and the error page is an exception, not a happy path 🤷
1 parent 9662c2e commit 8a62f75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pages/500.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export default ({ reqId }: { reqId: string }) => (
2323
</p>
2424
<p>
2525
<a
26+
rel="nofollow"
2627
href={`https://vercel.com/packagephobia/packagephobia/logs?requestIds=${reqId}`}
2728
>
2829
View Logs

0 commit comments

Comments
 (0)