Open full view…

Page reload not working for riot router

Sat, 17 Dec 2016 16:53:32 GMT

I have a few routes in my app so far: `/`, `search`, `my-debates`, and the newest one, `debate/*`. The last one (`debate/*`) is the route giving me the trouble. When I execute the route `riot.route('/debate/<UriEncodedString>')`, my router picks it up and the app shows what it's supposed to. However, on refreshing the page I get 404: [Qv3Yv](// It appears that my app is now looking or public resources in the first part of my route (debate), where it doesn't actually exist. This only occurs on refresh and at no other point or route within the app. What could be the reason for this?