This commit is contained in:
Bastian Wagner
2026-07-15 15:19:15 +02:00
parent 59319a09b8
commit a79988b35c
8 changed files with 48 additions and 14 deletions

View File

@@ -1,3 +1,3 @@
window.__LDAP_PORTAL_CONFIG__ = {
apiBaseUrl: 'http://localhost:3000'
apiBaseUrl: ''
};

View File

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