Router hash dropping last part of url (and hence not working)

I’m trying upgrade an old app (spawned using aurelia cli 0.24) to the current cli 3.01. I’m using webpack per the defaults.

I haven’t changed the router config but my links are now wrong- it’s like the router is dropping the last fragment.

So if my app main page is at, the old version route links look like:

In the new version, it drops the index.html, breaking the route.

What can I do to restore the full url for routes (including the index.html portion)?

1 Like