Skip to content

Commit

Permalink
fix(core): Resolve domains to IPv4 first (#7206)
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy authored Sep 19, 2023
1 parent 28598ed commit e9ce531
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/cli/bin/n8n
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ inspect.defaultOptions.customInspect = false;
require('express-async-errors');
require('source-map-support').install();
require('reflect-metadata');
require('dns').setDefaultResultOrder('ipv4first');

require('@oclif/command')
.run()
Expand Down
5 changes: 3 additions & 2 deletions packages/cli/src/WorkflowRunnerProcess.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
/* eslint-disable @typescript-eslint/no-unsafe-argument */
/* eslint-disable @typescript-eslint/no-unsafe-member-access */

/* eslint-disable @typescript-eslint/no-unsafe-assignment */
/* eslint-disable @typescript-eslint/no-shadow */

/* eslint-disable @typescript-eslint/no-use-before-define */
/* eslint-disable @typescript-eslint/unbound-method */
import 'source-map-support/register';
import 'reflect-metadata';
import { setDefaultResultOrder } from 'dns';
setDefaultResultOrder('ipv4first');

import { Container } from 'typedi';
import type { IProcessMessage } from 'n8n-core';
import { BinaryDataManager, UserSettings, WorkflowExecute } from 'n8n-core';
Expand Down

0 comments on commit e9ce531

Please sign in to comment.