feat: allow urls without # for demo

This commit is contained in:
Dmitry Nehaychik 2019-02-01 20:15:37 +03:00
parent a3f5d4f32b
commit 0de3c3a680
3 changed files with 3 additions and 4 deletions

View file

@ -46,7 +46,7 @@ const routes: Routes = [
];
const config: ExtraOptions = {
useHash: true,
useHash: false,
};
@NgModule({

View file

@ -28,9 +28,7 @@ import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
CoreModule.forRoot(),
],
bootstrap: [AppComponent],
providers: [
{ provide: APP_BASE_HREF, useValue: '/' },
],
providers: [],
})
export class AppModule {
}