2021-08-03 04:30:06 +03:00
|
|
|
<<<<<<< HEAD
|
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
|
|
|
import type { DcId } from "../types";
|
|
|
|
|
|
|
|
export const MAIN_DOMAIN = 'web.telegram.org';
|
|
|
|
|
|
|
|
const App = {
|
|
|
|
id: 1025907,
|
|
|
|
hash: '452b0359b988148995f22ff0f4229750',
|
|
|
|
version: '0.7.0',
|
|
|
|
langPackVersion: '0.3.2',
|
|
|
|
langPack: 'macos',
|
|
|
|
langPackCode: 'en',
|
|
|
|
domains: [MAIN_DOMAIN] as string[],
|
|
|
|
baseDcId: 2 as DcId,
|
|
|
|
isMainDomain: location.hostname === MAIN_DOMAIN,
|
|
|
|
suffix: 'K'
|
|
|
|
};
|
|
|
|
|
|
|
|
if(App.isMainDomain) { // use Webogram credentials then
|
|
|
|
App.id = 2496;
|
|
|
|
App.hash = '8da85b0d5bfe62527e5b244c209159c3';
|
|
|
|
}
|
|
|
|
|
|
|
|
export default App;
|
|
|
|
=======
|
2021-04-08 17:52:31 +04: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-06-20 20:07:20 +03:00
|
|
|
import type { DcId } from "../types";
|
|
|
|
|
2021-06-28 16:41:42 +03:00
|
|
|
export const MAIN_DOMAIN = 'web.telegram.org';
|
|
|
|
|
2021-02-13 19:32:10 +04:00
|
|
|
const App = {
|
|
|
|
id: 1025907,
|
|
|
|
hash: '452b0359b988148995f22ff0f4229750',
|
2021-08-03 04:44:13 +03:00
|
|
|
version: '0.7.0',
|
2021-07-17 15:37:43 +03:00
|
|
|
langPackVersion: '0.3.2',
|
2021-03-30 19:31:11 +04:00
|
|
|
langPack: 'macos',
|
2021-04-03 23:25:43 +04:00
|
|
|
langPackCode: 'en',
|
2021-06-28 16:41:42 +03:00
|
|
|
domains: [MAIN_DOMAIN] as string[],
|
2021-06-20 20:07:20 +03:00
|
|
|
baseDcId: 2 as DcId,
|
2021-06-28 16:41:42 +03:00
|
|
|
isMainDomain: location.hostname === MAIN_DOMAIN,
|
2021-06-11 15:15:28 +03:00
|
|
|
suffix: 'K'
|
2021-02-13 19:32:10 +04:00
|
|
|
};
|
|
|
|
|
2021-06-11 15:15:28 +03:00
|
|
|
if(App.isMainDomain) { // use Webogram credentials then
|
|
|
|
App.id = 2496;
|
|
|
|
App.hash = '8da85b0d5bfe62527e5b244c209159c3';
|
|
|
|
}
|
|
|
|
|
2021-02-13 19:32:10 +04:00
|
|
|
export default App;
|
2021-08-03 04:30:06 +03:00
|
|
|
>>>>>>> a3a258651320e5e8e7903d8bfe1cb222d84de6dc
|