mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
fix: cloudflare edge
This commit is contained in:
parent
da93813a5f
commit
4fc2d132c8
@ -5,6 +5,8 @@ import { Suspense } from "react";
|
||||
import ServerGlobal from "./ClientComponents/Global";
|
||||
import GlobalLoading from "./ClientComponents/GlobalLoading";
|
||||
|
||||
export const runtime = "edge";
|
||||
|
||||
export default async function Home({
|
||||
searchParams,
|
||||
}: {
|
||||
|
@ -4,6 +4,8 @@ import Link from "next/link";
|
||||
import Footer from "./(main)/footer";
|
||||
import Header from "./(main)/header";
|
||||
|
||||
export const runtime = "edge";
|
||||
|
||||
export default function NotFoundPage() {
|
||||
const t = useTranslations("NotFoundPage");
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user