feat: support scroll restoration for partials (#1858)

This commit is contained in:
Marvin Hagemeister
2023-10-05 10:00:56 +02:00
committed by GitHub
parent 9018024b7e
commit add696faeb
7 changed files with 423 additions and 6 deletions
@@ -0,0 +1,10 @@
import { defineRoute } from "$fresh/src/server/defines.ts";
export default defineRoute(() => {
return new Response("", {
status: 302,
headers: {
Location: "/scroll_restoration",
},
});
});