Skip to content

Commit

Permalink
plugins/resolver: m qualify node http2 import
Browse files Browse the repository at this point in the history
  • Loading branch information
ignoramous committed Sep 7, 2023
1 parent c8c52f7 commit d2f25c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/dns-op/resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export default class DNSResolver {
const isnode = envutil.isNode();
const plainOldDnsIp = dnsutil.dnsaddr();
if (isnode && !this.http2) {
this.http2 = await import("http2");
this.http2 = await import("node:http2");
this.log.i("imported custom http2 client");
}
if (isnode && !this.nodeutil) {
Expand Down

0 comments on commit d2f25c2

Please sign in to comment.