You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.
Thanks for the great package. Since upgrading to Meteor 0.6.5, collection-api does not handle an API prefix with a slash, e.g. 'api/v1'. I think I've identified a couple places that need to change.
Line 63 changes from this:
if (req.url.split('/')[1] !== self.options.apiPath) {
to something like this:
if (req.url.slice(1, self.options.apiPath.length + 1) !== self.options.apiPath) {
Hello,
Thanks for the great package. Since upgrading to Meteor 0.6.5, collection-api does not handle an API prefix with a slash, e.g. 'api/v1'. I think I've identified a couple places that need to change.
Line 63 changes from this:
to something like this:
And line 97 from this:
to something like this:
Feel free to improve upon the code.
Cheers!
The text was updated successfully, but these errors were encountered: