major: import Fresh 2.0 code (#2449)

🎉
This commit is contained in:
Marvin Hagemeister
2024-05-24 09:40:08 +02:00
committed by GitHub
parent 990357629e
commit 287929e4d2
958 changed files with 15794 additions and 28287 deletions
+1 -2
View File
@@ -1,4 +1,4 @@
import { FreshContext } from "$fresh/server.ts";
import type { FreshContext } from "@fresh/core";
const REDIRECTS: Record<string, string> = {
"/docs/getting-started/fetching-data":
@@ -6,7 +6,6 @@ const REDIRECTS: Record<string, string> = {
};
export async function handler(
_req: Request,
ctx: FreshContext,
) {
// Redirect from old doc URLs to new ones