Limpieza de código
This commit is contained in:
@@ -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]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user