Does this happen on navigation or on a fresh window/page load?
As far as I can see, FlowRouter doesn’t do any routing on the server side, it just includes stub implementations for SSR.
This means WebApp will always be used for fresh requests.
When the app is already loaded on the client however, the default in Meteor and FlowRouter is to work as a Single Page App (SPA), and manage all route transitions on the client.
This means no requests for the route are sent to the server.
This means if you an active client to make a request for a particular route to the server, you will need to instruct FlowRouter to do so.
Off the top of my head, using window.location = '/someroutepart1/someroutepart2' should work to destroy the current page and force a fresh request to the server:
FlowRouter.route('/someroutepart1/someroutepart2', {
action() {
// force window reload to new location.
window.location = 'someroutepart1/someroutepart2';
}
});
Alternatively, you could tell FlowRouter to make the request with XHR and do something with the result