feat(config): phase 7 — drop /ims basePath, update all hardcoded paths, refresh env spec

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-23 22:27:46 +08:00
co-authored by Claude Sonnet 4.6
parent d785d86636
commit 9d047e168f
18 changed files with 45 additions and 37 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ export default async function RootLayout({
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
>
<head>
<link rel="manifest" href="/ims/manifest.json" />
<link rel="manifest" href="/manifest.json" />
</head>
<body className="min-h-full flex flex-col">
<I18nProvider messages={messages}>
@@ -41,7 +41,7 @@ export default async function RootLayout({
</I18nProvider>
<script
dangerouslySetInnerHTML={{
__html: `if('serviceWorker'in navigator){navigator.serviceWorker.register('/ims/sw.js',{scope:'/ims/'}).catch(console.error)}`,
__html: `if('serviceWorker'in navigator){navigator.serviceWorker.register('/sw.js',{scope:'/'}).catch(console.error)}`,
}}
/>
</body>