Hello,
What is the point of Picker when there is WebApp.connectHandlers ?
I am trying to implement SSR for SEO purposes so I need server side routes.
I also need server side routes for third party api web hooks.
Picker.route('/post/:_id', function(params, req, res, next) {
var post = Posts.findOne(params._id);
res.end(post.content);
});
// Listen to incoming HTTP requests (can only be used on the server).
WebApp.connectHandlers.use('/hello', (req, res, next) => {
res.writeHead(200);
res.end(`Hello world from: ${Meteor.release}`);
});
Thanks,