Hello,
I’d like to know why when I go here in my PWA: http://ulisesceca.com the url becomes http://ulisesceca.com/home
but if i try to go directly to http://ulisesceca.com/home by typing it in the browser, it tells me it can’t find that page?
My route code is this:
import { NgModule } from '@angular/core';
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
const routes: Routes = [
{ path: '', redirectTo: '/home', pathMatch: 'full' },
{ path: 'home', loadChildren: './home/home.module#HomePageModule' },
];
@NgModule({
imports: [
RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
],
exports: [RouterModule]
})
export class AppRoutingModule { }
Thanks.