Skip to content

Current map implementation is broken. Can't add more than one route through addRoute() #3

@chpiotr06

Description

@chpiotr06

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions