I've been experimenting with that code and addRoute() only adds route to only next from base route.
addRoute(route, "/about", "about.html");
addRoute(route, "/sth", "sth.html");
This code ends up having only two routes
"/" and "/sth" the "/about" route is replaced by "/sth"
I've been experimenting with that code and addRoute() only adds route to only next from base route.
This code ends up having only two routes
"/" and "/sth" the "/about" route is replaced by "/sth"