1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-25 23:45:23 -04:00

enable scrollRestoration

This commit is contained in:
Jake Jarvis 2025-04-13 13:01:43 -04:00
parent e38b19ed2f
commit f08aa16862
Signed by: jake
SSH Key Fingerprint: SHA256:nCkvAjYA6XaSPUqc4TfbBQTpzr8Xj7ritg/sGInCdkc

View File

@ -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"],
},