mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-13141] fix: remove faulty interceptor with caused CORS issues (#8474)
This commit is contained in:
@@ -61,7 +61,6 @@ import { HttpClientModule, HttpClientXsrfModule, HTTP_INTERCEPTORS } from '@angu
|
||||
import { AuthenticationService } from './auth/services/authentication.service';
|
||||
import { MAT_SNACK_BAR_DEFAULT_OPTIONS } from '@angular/material/snack-bar';
|
||||
import { IdentityUserInfoModule } from './identity-user-info/identity-user-info.module';
|
||||
import { AuthBearerInterceptor } from './auth/authentication-interceptor/auth-bearer.interceptor';
|
||||
import { loadAppConfig } from './app-config/app-config.loader';
|
||||
import { AppConfigService } from './app-config/app-config.service';
|
||||
import { StorageService } from './common/services/storage.service';
|
||||
@@ -182,7 +181,6 @@ export class CoreModule {
|
||||
deps: [ AlfrescoApiLoaderService ],
|
||||
multi: true
|
||||
},
|
||||
{ provide: HTTP_INTERCEPTORS, useClass: AuthBearerInterceptor, multi: true },
|
||||
...(config.useAngularBasedHttpClientInAlfrescoJs
|
||||
? [{ provide: AlfrescoApiService, useClass: AlfrescoApiServiceWithAngularBasedHttpClient }]
|
||||
: []
|
||||
|
Reference in New Issue
Block a user