|
@@ -1,5 +1,5 @@
|
|
|
import { ApplicationConfig, importProvidersFrom } from '@angular/core';
|
|
import { ApplicationConfig, importProvidersFrom } from '@angular/core';
|
|
|
-import { provideRouter } from '@angular/router';
|
|
|
|
|
|
|
+import { provideRouter, withHashLocation } from '@angular/router';
|
|
|
import { routes } from './app.routes';
|
|
import { routes } from './app.routes';
|
|
|
import { provideHttpClient } from '@angular/common/http';
|
|
import { provideHttpClient } from '@angular/common/http';
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
@@ -9,7 +9,7 @@ import { NgxsStoragePluginModule } from '@ngxs/storage-plugin';
|
|
|
|
|
|
|
|
export const appConfig: ApplicationConfig = {
|
|
export const appConfig: ApplicationConfig = {
|
|
|
providers: [
|
|
providers: [
|
|
|
- provideRouter(routes),
|
|
|
|
|
|
|
+ provideRouter(routes,withHashLocation()),
|
|
|
importProvidersFrom(BrowserModule),
|
|
importProvidersFrom(BrowserModule),
|
|
|
importProvidersFrom(DpModule),
|
|
importProvidersFrom(DpModule),
|
|
|
importProvidersFrom(BrowserAnimationsModule),
|
|
importProvidersFrom(BrowserAnimationsModule),
|