fission-codes / fission

Fission CLI & server
https://runfission.com/docs
119 stars 14 forks source link

Ensure github requests always use TLS #582

Closed walkah closed 2 years ago

walkah commented 2 years ago

Note: This issue only really impacts local development.

We currently set up an HTTP.Manager globally based on the scheme of the fission server REST url. This means in local development (when using HTTP), the CLI will try to make a request to github via http. This PR adds a dedicated tlsManager that github requests will always use.