Skip to content

Commit

Permalink
dont prefetch
Browse files Browse the repository at this point in the history
  • Loading branch information
nicnocquee committed Nov 21, 2023
1 parent 1679eb5 commit 04a26b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ import Link from "next/link";
export default function Index() {
return (
<div>
<Link href="/api/download/secret.json">Download secret file</Link>
<Link prefetch={false} href="/api/download/secret.json">
Download secret file
</Link>
</div>
);
}

0 comments on commit 04a26b2

Please sign in to comment.