Fix: 404 beim Nachladen auf jamulix.de/ beseitigt
Unter / lädt Next.js die RSC-Segmente ohne basePath (/__next.*.txt). Die Deploy-Skripte verlinken diese Dateien jetzt wie index.html in den Webroot. Vercel Analytics entfernt (funktioniert nur auf Vercel). README angepasst. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
74b8d18991
commit
30d87187cd
1 changed files with 14 additions and 2 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import type { Metadata, Viewport } from 'next'
|
||||
import { Inter, Plus_Jakarta_Sans, JetBrains_Mono } from 'next/font/google'
|
||||
import { Analytics } from '@vercel/analytics/next'
|
||||
import './globals.css'
|
||||
|
||||
const inter = Inter({
|
||||
|
|
@ -90,7 +89,6 @@ export default function RootLayout({
|
|||
</head>
|
||||
<body className="font-sans antialiased min-h-screen">
|
||||
{children}
|
||||
{process.env.NODE_ENV === 'production' && <Analytics />}
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue