GramJs: Fix DNS for the default DC

This commit is contained in:
Alexander Zinchuk 2021-07-24 02:17:33 +03:00
parent eeec5468e4
commit a2462708ca

View File

@ -23,7 +23,7 @@ const { updateTwoFaSettings } = require('./2fa');
const DEFAULT_DC_ID = 2;
const WEBDOCUMENT_DC_ID = 4;
const DEFAULT_IPV4_IP = 'venus.web.telegram.org';
const DEFAULT_IPV4_IP = 'zws4.web.telegram.org';
const DEFAULT_IPV6_IP = '[2001:67c:4e8:f002::a]';
const BORROWED_SENDER_RELEASE_TIMEOUT = 30000; // 30 sec
const WEBDOCUMENT_REQUEST_PART_SIZE = 131072; // 128kb