Skip to content
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

Trailing slash on baseUrl #7

Closed
grantcodes opened this issue Feb 24, 2016 · 2 comments
Closed

Trailing slash on baseUrl #7

grantcodes opened this issue Feb 24, 2016 · 2 comments

Comments

@grantcodes
Copy link

Hi there,

Just trying to covert my spark stuff over to this new library and ran into 404 errors because the default baseUrl has a trailing slash on it.

Managed to get logged in fine when I passed in the url without the trailing slash.

Cheers,
Grant

@mike12345567
Copy link

I have also ran into this issue, updating the baseUrl: 'https://api.particle.io/' in Defaults.js to remove the trailing slash stopped the 404 errors.

@brycekahle
Copy link
Contributor

Thanks for the bug report. I'll check this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants