Skip to content

Commit c23c8f4

Browse files
committed
Intentionally break proxy functionality again
1 parent a2bfb64 commit c23c8f4

2 files changed

Lines changed: 67 additions & 70 deletions

File tree

lib/entry-points.js

Lines changed: 63 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/api-client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,13 @@ export function makeProxyRequestOptions(
114114
dispatcher: ProxyAgent | undefined,
115115
): RequestRequestOptions | undefined {
116116
// If we don't have a custom `ProxyAgent`, return the defaults.
117-
if (dispatcher === undefined) {
118-
return githubUtils.defaults.request;
119-
}
117+
// if (dispatcher === undefined) {
118+
// return githubUtils.defaults.request;
119+
// }
120120

121121
// Otherwise, construct the custom `fetch` and add it onto the defaults.
122122
return {
123-
...githubUtils.defaults.request,
123+
// ...githubUtils.defaults.request,
124124
fetch: (req: RequestInfo, init?: RequestInit) => {
125125
return undiciFetch(req, { ...init, dispatcher });
126126
},

0 commit comments

Comments
 (0)