- Notifications
You must be signed in to change notification settings - Fork23
Use Axios client for EventSource#440
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
src/api.ts Outdated
@@ -224,6 +280,7 @@ export async function waitForBuild( | |||
| undefined, | |||
}, | |||
followRedirects: true, | |||
agent: restClient.getAxiosInstance().defaults.httpAgent, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This fixes a similar issue with the WebSocket request not using TLS settings
12a71ee
to56ce33c
CompareUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
5ede407
to2fe5804
CompareThis allows client TLS certificates to be used for event monitoring.Upgrade to a newer `eventsource` package that supports a custom `fetch`function, and provide a custom `fetch` function which wraps Axios.
0fff882
to7ef954e
Compare7ef954e
to6db25d4
Comparebbcd5fd
intocoder:mainUh oh!
There was an error while loading.Please reload this page.
This allows client TLS certificates to be used for event monitoring. Upgrade to a newer
eventsource
package that supports a customfetch
function, and provide a customfetch
function which wraps Axios.