|
|
@@ -1,5 +1,5 @@
|
|
|
import { ApplicationConfig, importProvidersFrom } from '@angular/core';
|
|
|
-import { provideRouter, withHashLocation } from '@angular/router';
|
|
|
+import { provideRouter, withHashLocation, withRouterConfig } from '@angular/router';
|
|
|
import { routes } from './app.routes';
|
|
|
import { provideHttpClient } from '@angular/common/http';
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
@@ -17,7 +17,7 @@ export const appConfig: ApplicationConfig = {
|
|
|
provideStore([],withNgxsStoragePlugin({keys:'*'}),withNgxsReduxDevtoolsPlugin()),
|
|
|
importProvidersFrom(DpModule),
|
|
|
importProvidersFrom(Angularlib),
|
|
|
- provideRouter(routes,withHashLocation()),
|
|
|
+ provideRouter(routes,withHashLocation(),withRouterConfig({onSameUrlNavigation:'reload'})),
|
|
|
provideHttpClient()
|
|
|
]
|
|
|
};
|