public-gateway-cacher/src/app/app-routing.module.ts

15 lines
432 B
TypeScript

import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { environment } from '../environments/environment';
const routes: Routes = [{
path: '',
loadChildren: () => import('./pages/pages.module').then(m => m.PagesModule),
}];
@NgModule({
imports: [RouterModule.forRoot(routes, { useHash: environment.useHash })],
exports: [RouterModule]
})
export class AppRoutingModule { }