diff --git a/src/app/not-found.tsx b/src/app/not-found.tsx index 6c5d0a22d0..3a1df29a13 100644 --- a/src/app/not-found.tsx +++ b/src/app/not-found.tsx @@ -13,7 +13,8 @@ export default function Page() { name: "graphql.github.io", } - const title = `Found broken \`${mounted ? pathname?.replace(/\/$/, "") : ""}\` link. Please fix!` + const referrer = mounted && document.referrer + const title = `Found broken \`${mounted ? pathname?.replace(/\/$/, "") : ""}\` link${referrer ? ` from \`${referrer}\`` : ""}. Please fix!` const labels = "bug" const url = `${repo.origin}/${repo.owner}/${