-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current restivus build causes crash on "Restivus.configure" #1
Comments
Good catch! Sorry about that. Your suggestion would fix the error, but the intended behavior is that the default |
Sweet, thanks! btw, Great work on Restivus, just what I needed. |
The default api path ('api/') is now used if no apiPath is provided in Restivus.configure(). A separate issue was also discovered and resolved in Restivus.configure() where an apiPath ending with '/' was having an extra '/' appended to it. Fix so it only happens when the path is missing the trailing '/'.
Just published v0.5.4 with the fix. You should be able to grab it with |
Looks like this line causes meteor to crash when calling
Restivus.configure()
andconfig.apiPath
isn't defined.Can be fixed by adding existence checks :
The text was updated successfully, but these errors were encountered: