cyclejs-community / one-fits-all

The one-fits-all flavor for create-cycle-app
MIT License
34 stars 8 forks source link

Dev server does not work for 2+ level routes #48

Closed baranovxyz closed 6 years ago

baranovxyz commented 6 years ago

export const routes: Routes = { "/": { component: Counter, scope: "counter" }, "/p2/main": { component: Speaker, scope: "speaker" }, };

"/p2/main" route does not work if I input it directly in browser though it obviously does work if I follow it from main page.

The reason is simple: main:9 GET http://localhost:8080/p2/bundle.91c2e2b0e949aa717548.js?91c2e2b0e949aa717548 net::ERR_ABORTED

Browser asks for bundle at /p2/bunde... while it is at /bundle...

jvanbruegge commented 6 years ago

Released in 5.1.0