Skip to content

Commit 6a1f8f7

Browse files
committed
fix: httpclient_next lookup
1 parent 56f5ce8 commit 6a1f8f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/core/httpclient_next.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class HttpClientNext extends HttpClient {
3232
app,
3333
defaultArgs: options.request,
3434
allowH2: options.allowH2,
35+
lookup: options.lookup || app.config.httpclient?.lookup,
3536
// use on egg-security ssrf
3637
// https://github.com/eggjs/egg-security/blob/master/lib/extend/safe_curl.js#L11
3738
checkAddress: options.checkAddress,

0 commit comments

Comments
 (0)