diff --git a/lib/api_client.js b/lib/api_client.js index 215b524..cd49d58 100644 --- a/lib/api_client.js +++ b/lib/api_client.js @@ -2,6 +2,8 @@ const https = require("https"); const http = require("http"); const url = require("url"); const { Readable } = require("stream"); +const dns = require("node:dns"); +dns.setDefaultResultOrder('ipv4first'); module.exports = class { constructor(endpoint, token, eventId = null, emailId = null, documentId = null) { diff --git a/package.json b/package.json index ff3d955..086f12c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "event-theme-maker", - "version": "0.3.1", + "version": "0.3.2", "description": "Eventmaker theme developers tools belt", "keywords": [], "author": "Eventmaker team 🚀",