mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-08-24 00:25:38 -04:00
enable scrollRestoration
This commit is contained in:
@@ -60,6 +60,7 @@ const nextConfig: NextConfig = {
|
|||||||
experimental: {
|
experimental: {
|
||||||
reactCompiler: true, // https://react.dev/learn/react-compiler
|
reactCompiler: true, // https://react.dev/learn/react-compiler
|
||||||
ppr: "incremental", // https://nextjs.org/docs/app/building-your-application/rendering/partial-prerendering#using-partial-prerendering
|
ppr: "incremental", // https://nextjs.org/docs/app/building-your-application/rendering/partial-prerendering#using-partial-prerendering
|
||||||
|
scrollRestoration: true,
|
||||||
serverActions: {
|
serverActions: {
|
||||||
allowedOrigins: ["jarv.is", "jarvis2i2vp4j4tbxjogsnqdemnte5xhzyi7hziiyzxwge3hzmh57zad.onion"],
|
allowedOrigins: ["jarv.is", "jarvis2i2vp4j4tbxjogsnqdemnte5xhzyi7hziiyzxwge3hzmh57zad.onion"],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user