kadirahq / flow-router

Carefully Designed Client Side Router for Meteor
MIT License
1.09k stars 195 forks source link

No SSR for '/*' route #584

Open jschlieber opened 8 years ago

jschlieber commented 8 years ago

Sometimes it's handy to just get the whole path as one parameter in the params like { 0: 'path/to/page'}. This can be achieved by defining a route like this:

FlowRouter.route('/*', {
    name: 'page',
    public: true,
    action(params) {
        console.log('Params: ', params);
        console.log('Path: ', params[0]);
    }
});

But I just noticed that there is no SSR for such a route definition. Is that intentional?