From f08aa168627cce953e4d91140fab792440af3ebd Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Sun, 13 Apr 2025 13:01:43 -0400 Subject: [PATCH] enable `scrollRestoration` --- next.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/next.config.ts b/next.config.ts index f14f8a2f..073ffa47 100644 --- a/next.config.ts +++ b/next.config.ts @@ -60,6 +60,7 @@ const nextConfig: NextConfig = { experimental: { reactCompiler: true, // https://react.dev/learn/react-compiler ppr: "incremental", // https://nextjs.org/docs/app/building-your-application/rendering/partial-prerendering#using-partial-prerendering + scrollRestoration: true, serverActions: { allowedOrigins: ["jarv.is", "jarvis2i2vp4j4tbxjogsnqdemnte5xhzyi7hziiyzxwge3hzmh57zad.onion"], },