2021-04-08 15:52:31 +02:00
|
|
|
/*
|
|
|
|
* https://github.com/morethanwords/tweb
|
|
|
|
* Copyright (C) 2019-2021 Eduard Kuzmenko
|
|
|
|
* https://github.com/morethanwords/tweb/blob/master/LICENSE
|
|
|
|
*
|
|
|
|
* Originally from:
|
|
|
|
* https://github.com/zhukov/webogram
|
|
|
|
* Copyright (C) 2014 Igor Zhukov <igor.beatle@gmail.com>
|
|
|
|
* https://github.com/zhukov/webogram/blob/master/LICENSE
|
|
|
|
*/
|
|
|
|
|
2021-02-13 16:32:10 +01:00
|
|
|
const App = {
|
|
|
|
id: 1025907,
|
|
|
|
hash: '452b0359b988148995f22ff0f4229750',
|
2021-06-19 02:52:21 +02:00
|
|
|
version: '0.5.7',
|
2021-06-18 17:51:02 +02:00
|
|
|
langPackVersion: '0.2.3',
|
2021-03-30 17:31:11 +02:00
|
|
|
langPack: 'macos',
|
2021-04-03 21:25:43 +02:00
|
|
|
langPackCode: 'en',
|
2021-02-13 16:32:10 +01:00
|
|
|
domains: [] as string[],
|
2021-06-11 14:15:28 +02:00
|
|
|
baseDcId: 2,
|
|
|
|
isMainDomain: location.hostname === 'web.telegram.org',
|
|
|
|
suffix: 'K'
|
2021-02-13 16:32:10 +01:00
|
|
|
};
|
|
|
|
|
2021-06-11 14:15:28 +02:00
|
|
|
if(App.isMainDomain) { // use Webogram credentials then
|
|
|
|
App.id = 2496;
|
|
|
|
App.hash = '8da85b0d5bfe62527e5b244c209159c3';
|
|
|
|
}
|
|
|
|
|
2021-02-13 16:32:10 +01:00
|
|
|
export default App;
|