//app.modules.ts
IonicModules.forRoot(MyApp, {locationStrategy: ‘path’})
//home.ts
@IonicPage({
name: ‘home’,
segment: ‘home’,
defaultHistory: []
})
http://localhost:8100/home -> HTTP_OK(200)
and refresh http://localhost:8100/home -> NOT_FOUND (404)
but http://localhost:8100/#/home -> HTTP_OK(200) -> redirect http://localhost:8100/home
I want to call http://localhost:8100/home or http://localhost:8100/login/:value