Skip to content

Commit 0ce869e

Browse files
committed
Add code comment
1 parent 21602f6 commit 0ce869e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/utils/sdk.mts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ export async function setupSdk(
104104
}
105105

106106
const { apiBaseUrl = getDefaultApiBaseUrl() } = opts
107+
108+
// Usage of HttpProxyAgent vs. HttpsProxyAgent based on the chart at:
109+
// https://github.com/delvedor/hpagent?tab=readme-ov-file#usage
107110
const ProxyAgent = apiBaseUrl?.startsWith('http:')
108111
? HttpProxyAgent
109112
: HttpsProxyAgent

0 commit comments

Comments
 (0)