Reduce Vercel CPU usage by narrowing auth checks

This commit is contained in:
2569718930@qq.com
2026-03-26 17:04:56 +08:00
parent 88b355e9de
commit 436afe121a
2 changed files with 19 additions and 2 deletions
-2
View File
@@ -1,7 +1,6 @@
import type { Metadata } from "next";
import { Analytics } from "@vercel/analytics/react";
import { SpeedInsights } from "@vercel/speed-insights/next";
import { WebVitalsReporter } from "@/components/observability/WebVitalsReporter";
import "./globals.css";
export const metadata: Metadata = {
@@ -35,7 +34,6 @@ export default function RootLayout({
</head>
<body className="min-h-screen font-sans antialiased">
{children}
<WebVitalsReporter />
<Analytics />
<SpeedInsights />
</body>