diff --git a/constants/common.js b/constants/common.js index 31331dd9..2e56302e 100644 --- a/constants/common.js +++ b/constants/common.js @@ -262,7 +262,10 @@ const requestToUrl = async (url, isNewCustomFlow) => { const res = {}; await axios .get(url, { - headers: { 'User-Agent': devices['Desktop Chrome HiDPI'].userAgent }, + headers: { + 'User-Agent': devices['Desktop Chrome HiDPI'].userAgent, + 'Host': new URL(url).host + }, httpsAgent, timeout: 2000, })