This commit is contained in:
Bastian Wagner
2026-07-15 16:03:49 +02:00
parent d51d915c74
commit 9cd8891769
8 changed files with 19 additions and 50 deletions

View File

@@ -66,6 +66,6 @@ bootstrapApplication(AppComponent, {
provideRouter(routes),
provideHttpClient(withInterceptors([authInterceptor])),
AuthService,
{ provide: API_BASE_URL, useValue: window.__LDAP_PORTAL_CONFIG__?.apiBaseUrl ?? '' },
{ provide: API_BASE_URL, useValue: window.__LDAP_PORTAL_CONFIG__?.apiBaseUrl ?? '/api' },
],
}).catch((error) => console.error(error));