Closed gustawdaniel closed 8 months ago
Hello @gustawdaniel ,
Try spiderable.handler.bind(spiderable)
as described in express-middleware example.
This is due to the fact Meteor 3 has changed middleware library.
Let me know if it works properly
I confirm it works. For further readers.:
import Spiderable from 'meteor/ostrio:spiderable-middleware';
const spiderable = new Spiderable({
rootURL: 'https://myservice.com',
serviceURL: 'https://render.ostr.io',
auth: 'user:pass',
});
WebApp.connectHandlers.use(spiderable.handler.bind(spiderable));
Thanks @dr-dimitru for super fast support.
I added
and see this error:
I am using Meteor 3