I want to use UrlRouter and not HashRouter
When I browse to http://localhost:8080/ it redirects me correctly to http://localhost:8080/exams (I changed the name of “top”)
However, if I browse directly to http://localhost:8080/exams or refresh the browser I get a 404. Can’t figure it out.
Straight forward app config…
const defaults = {
id : “MyApp”,
version : VERSION,
router : BUILD_AS_MODULE ? EmptyRouter : UrlRouter,
debug : !PRODUCTION,
start : “/exams”, || “”,
views:{
“stage” : “stages.stage-details-container”,
“item” : “item.item-details-container”,
“settings” : “settings”,
“team” : “team.team-summary”
}
};