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

Update klipfolio DS script's https use to work with node 11 & 12. #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

benkags
Copy link
Contributor

@benkags benkags commented Oct 16, 2019

The script to check if Klipfolio data sources are refreshing was
breaking when run in node 11+. Turns out this is as a result
of the http/s module using the URL object to parse
the url and for some reason breaking basic auth with username &
password set in the url string.

Setting the auth detail in the options object and as a result leaving
it to https.get to compose the url, fixes it!

The script to check if Klipfolio data sources are refreshing was
breaking when run in node 11+. Turns out this is as a result
of the http/s module using the URL object to parse
the url and for some reason breaking basic auth with username &
password set in the url string.

Setting the auth detail in the options object and as a result leaving
it to `https.get` to compose the url, fixes it!
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

Successfully merging this pull request may close these issues.

1 participant