kkinder / puepy

Python+Webassembly Frontend Framework via PyScript
https://puepy.dev
Apache License 2.0
193 stars 8 forks source link

Router: In hash mode, routes to default page go to "/" (not with a hash) #22

Closed kkinder closed 2 months ago

kkinder commented 2 months ago

This is a bug. When using a "default page", the router will always link to "/" when reversing a route, regardless of html5 history mode being on or off, and it also ignores the base prefix.