Prepare Kalendartool for MPM and disable invites
This commit is contained in:
@@ -15,6 +15,12 @@ const nextConfig = {
|
||||
// Proxy-Modus: App läuft unter /apps/<slug> innerhalb der Hub-Domain.
|
||||
// basePath '' (falsy) = Standalone-Betrieb ohne Pfad-Präfix.
|
||||
...(hubBasePath ? { basePath: hubBasePath } : {}),
|
||||
// Client-side fetch() calls use absolute API paths and do not inherit
|
||||
// Next.js' basePath automatically. Bake the prefix into browser bundles.
|
||||
env: {
|
||||
NEXT_PUBLIC_APP_BASE_PATH: hubBasePath,
|
||||
NEXT_PUBLIC_MPM_AUTH_MODE: process.env.MPM_AUTH_MODE ?? 'false',
|
||||
},
|
||||
// Manifest-Route: /.well-known/app-manifest → /api/manifest
|
||||
// (Next.js App Router routed keine Dot-Ordner; mit beforeFiles-Phase
|
||||
// fangen wir den Pfad ab, bevor basePath zuschlägt.)
|
||||
@@ -70,4 +76,4 @@ const nextConfig = {
|
||||
},
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
export default nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user