This will close #34.
The call
url.split('/').slice(0,-1).join("/") + query_string + "&mobile=true&stops=" + stops.join("+");
was removing a '/' from the final URL that seemed to be causing problems. I managed to test it on my machine and this seems to fix it.
I removed the split('/') from the call. That's it.
This will close #34.
The call
url.split('/').slice(0,-1).join("/") + query_string + "&mobile=true&stops=" + stops.join("+");
was removing a '/' from the final URL that seemed to be causing problems. I managed to test it on my machine and this seems to fix it.I removed the
split('/')
from the call. That's it.