Prepare Kalendartool for MPM and disable invites

This commit is contained in:
Kühn
2026-10-08 15:06:22 +02:00
parent bc49c3074e
commit 556202575e
50 changed files with 905 additions and 836 deletions

View File

@@ -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;