|
|
@ -102,7 +102,6 @@ export class DcConfigurator { |
|
|
|
const suffix = getTelegramConnectionSuffix(connectionType); |
|
|
|
const suffix = getTelegramConnectionSuffix(connectionType); |
|
|
|
const subdomain = this.sslSubdomains[dcId - 1] + suffix; |
|
|
|
const subdomain = this.sslSubdomains[dcId - 1] + suffix; |
|
|
|
const path = Modes.test ? 'apiw_test1' : 'apiw1'; |
|
|
|
const path = Modes.test ? 'apiw_test1' : 'apiw1'; |
|
|
|
//chosenServer = 'https://' + subdomain + '.web.telegram.org/' + path;
|
|
|
|
|
|
|
|
chosenServer = 'https://web.telegram.i2p/web/' + subdomain + '/' + path; |
|
|
|
chosenServer = 'https://web.telegram.i2p/web/' + subdomain + '/' + path; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
for(const dcOption of this.dcOptions) { |
|
|
|
for(const dcOption of this.dcOptions) { |
|
|
|