iriscouch / browser-request

Browser library compatible with Node.js request package
Apache License 2.0
360 stars 102 forks source link

default baseUrl is not working #59

Open zapaiamarce opened 8 years ago

zapaiamarce commented 8 years ago

The baseUrl default is not working. It always use the current location

request.defaults({ baseUrl:'http://www.api.com' })