diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 1764a39d..e6de7fe2 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -50,7 +50,7 @@ const routes: Routes = [ ]; const config: ExtraOptions = { - useHash: true, + useHash: false, }; @NgModule({ diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 17509c87..0616603a 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -3,7 +3,6 @@ * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ -import { APP_BASE_HREF } from '@angular/common'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { NgModule } from '@angular/core'; @@ -44,9 +43,6 @@ import { CoreModule.forRoot(), ], bootstrap: [AppComponent], - providers: [ - { provide: APP_BASE_HREF, useValue: '/' }, - ], }) export class AppModule { } diff --git a/src/app/pages/e-commerce/country-orders/map/country-orders-map.service.ts b/src/app/pages/e-commerce/country-orders/map/country-orders-map.service.ts index 2dcdf525..9bb3fc54 100644 --- a/src/app/pages/e-commerce/country-orders/map/country-orders-map.service.ts +++ b/src/app/pages/e-commerce/country-orders/map/country-orders-map.service.ts @@ -9,7 +9,7 @@ export class CountryOrdersMapService { constructor(private http: HttpClient) {} getCords(): Observable { - return this.http.get('./assets/leaflet-countries/countries.geo.json'); + return this.http.get('assets/leaflet-countries/countries.geo.json'); } }