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

passing url without http fails #88

Open
moblizeit opened this issue Feb 17, 2020 · 2 comments
Open

passing url without http fails #88

moblizeit opened this issue Feb 17, 2020 · 2 comments

Comments

@moblizeit
Copy link

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
Copy link

can u please share the concerned code? And yes its possible to handle this.

@aptvaibhav
Copy link

I just tried doing what u are saying it works perfectly fine with me. No error is coming.

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

2 participants