-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Description
Hi,
I'm halfway done in the Crossroads router+History.js implementation and I see something which seems not supported - or that I at least don't know how to do. It is to have a wildcard for the beginning of the route, or as a workaround configure a base-URL at the init stage.
Router.addRoute('*cities/{id}', function(cityId) { (...) } });
Because in dev mode my URL can be
http://localhost/dev/sandbox/home-panel/public/
http://localhost/dev/sandbox/home-panel/public/cities/2643339
etc.
And in production
domain.com
domain.com/cities/2643339
etc.
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels