fix: cloudfare build deploy

This commit is contained in:
JOYCEQL
2025-07-31 00:29:48 +08:00
parent 62934e6c4d
commit 06f106f554
4 changed files with 12 additions and 3 deletions

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

+8 -3
View File
@@ -9,6 +9,11 @@ type Props = {
export const metadata: Metadata = {
metadataBase: new URL("https://magicv.art"),
icons: {
icon: "/icon.png",
shortcut: "/icon.png",
apple: "/icon.png"
},
robots: {
index: true,
follow: true,
@@ -17,9 +22,9 @@ export const metadata: Metadata = {
follow: true,
"max-video-preview": -1,
"max-image-preview": "large",
"max-snippet": -1,
},
},
"max-snippet": -1
}
}
};
export default function RootLayout({ children }: Props) {
+2
View File
@@ -1,5 +1,7 @@
import type { MetadataRoute } from "next";
export const runtime = "edge";
export default function manifest(): MetadataRoute.Manifest {
return {
name: "Magic Resume",
+2
View File
@@ -1,5 +1,7 @@
import { MetadataRoute } from "next";
export const runtime = "edge";
export default function sitemap(): MetadataRoute.Sitemap {
const baseUrl = "https://magicv.art/";