Disables APP_BASE_HREF provider
This commit is contained in:
parent
e70a8a30af
commit
cd51cf3b5b
|
@ -71,7 +71,7 @@ const routes: Routes = [
|
||||||
exports: [RouterModule],
|
exports: [RouterModule],
|
||||||
providers: [
|
providers: [
|
||||||
{provide: 'APP_ENVIRONMENT', useClass: ThisEnvironment},
|
{provide: 'APP_ENVIRONMENT', useClass: ThisEnvironment},
|
||||||
{provide: APP_BASE_HREF, useValue: environment.baseHref},
|
// {provide: APP_BASE_HREF, useValue: environment.baseHref},
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
export class AppRoutingModule {
|
export class AppRoutingModule {
|
||||||
|
|
|
@ -130,7 +130,7 @@ export class ThisEnvironment implements AppEnvironment {
|
||||||
providers: [
|
providers: [
|
||||||
{provide: MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: {appearance: 'outline'}},
|
{provide: MAT_FORM_FIELD_DEFAULT_OPTIONS, useValue: {appearance: 'outline'}},
|
||||||
{provide: 'APP_ENVIRONMENT', useClass: ThisEnvironment},
|
{provide: 'APP_ENVIRONMENT', useClass: ThisEnvironment},
|
||||||
{provide: APP_BASE_HREF, useValue: environment.baseHref},
|
// {provide: APP_BASE_HREF, useValue: environment.baseHref},
|
||||||
{provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true},
|
{provide: HTTP_INTERCEPTORS, useClass: AuthInterceptor, multi: true},
|
||||||
{provide: HTTP_INTERCEPTORS, useClass: ErrorInterceptor, multi: true},
|
{provide: HTTP_INTERCEPTORS, useClass: ErrorInterceptor, multi: true},
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue