Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb3e327d

Browse files
fix(dns): fixedcacheable-lookup integration; (#5836)
1 parent8fda276 commitb3e327d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎lib/adapters/http.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,11 +391,13 @@ export default isHttpAdapterSupported && function httpAdapter(config) {
391391
auth,
392392
protocol,
393393
family,
394-
lookup,
395394
beforeRedirect:dispatchBeforeRedirect,
396395
beforeRedirects:{}
397396
};
398397

398+
// cacheable-lookup integration hotfix
399+
!utils.isUndefined(lookup)&&(options.lookup=lookup);
400+
399401
if(config.socketPath){
400402
options.socketPath=config.socketPath;
401403
}else{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp