passing url without http fails
moblizeit opened this issue · 2 comments
moblizeit commented
i am passing url like www.lightercapital.com rather http://lightercapital.com and this fails with error
HTTPError: Invalid URI "www.lightercapital.com"
at request.then (/srv/node_modules/preq/index.js:246:19)
is it possible to handle this?
aptvaibhav commented
can u please share the concerned code? And yes its possible to handle this.
aptvaibhav commented
I just tried doing what u are saying it works perfectly fine with me. No error is coming.