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 ServerGlobal from "./ClientComponents/Global";
|
||||||
import GlobalLoading from "./ClientComponents/GlobalLoading";
|
import GlobalLoading from "./ClientComponents/GlobalLoading";
|
||||||
|
|
||||||
|
export const runtime = "edge";
|
||||||
|
|
||||||
export default async function Home({
|
export default async function Home({
|
||||||
searchParams,
|
searchParams,
|
||||||
}: {
|
}: {
|
||||||
|
@ -4,6 +4,8 @@ import Link from "next/link";
|
|||||||
import Footer from "./(main)/footer";
|
import Footer from "./(main)/footer";
|
||||||
import Header from "./(main)/header";
|
import Header from "./(main)/header";
|
||||||
|
|
||||||
|
export const runtime = "edge";
|
||||||
|
|
||||||
export default function NotFoundPage() {
|
export default function NotFoundPage() {
|
||||||
const t = useTranslations("NotFoundPage");
|
const t = useTranslations("NotFoundPage");
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user