Limpieza de código

This commit is contained in:
Eneko Nieto
2021-01-20 12:53:46 +01:00
parent e57906f583
commit 7c2bc6a3dc
9 changed files with 48 additions and 173 deletions

View File

@@ -15,7 +15,7 @@ import { useHash } from '../flags';
const ROUTING_OPTIONS: ExtraOptions = {
// preloadingStrategy: CustomPreloadingStrategy,
useHash: useHash,
useHash,
initialNavigation: !useHash
};
@@ -29,7 +29,7 @@ const ROUTING_OPTIONS: ExtraOptions = {
SharedModule.forRoot(),
OAuthModule.forRoot({
resourceServer: {
allowedUrls: ['http://www.angular.at/api'],
allowedUrls: ['http://localhost:8080/api'],
sendAccessToken: true
}
})
@@ -44,7 +44,7 @@ const ROUTING_OPTIONS: ExtraOptions = {
// {provide: AuthConfig, useValue: authConfig },
// { provide: OAuthStorage, useValue: localStorage },
// { provide: ValidationHandler, useClass: JwksValidationHandler },
{ provide: BASE_URL, useValue: 'http://www.angular.at' }
{ provide: BASE_URL, useValue: 'http://localhost:8080' }
],
bootstrap: [AppComponent]
})