Skip to content

Conversation

Baa14453
Copy link

Switch from http.get to https.get.
This function only supports either HTTP or HTTPS, but since the MET office now only supports HTTPS we should be OK to just change it.

Switch from `http.get` to `https.get`.
This function only supports either HTTP or HTTPS, but since the MET office now only supports HTTPS we should be OK to just change it.
@Baa14453
Copy link
Author

Fixes #2

@Baa14453
Copy link
Author

The testing system uses a local address on HTTP, this won't work any more.
You could add an if statement to check, or use a library to make requests instead, such as node-fetch to handle the complicated parts.

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