forked from threema-ch/threema-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.ts
33 lines (28 loc) · 1.12 KB
/
config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/**
* Threema Web configuration.
*
* The various options are explained in the `README.md` file.
*/
// tslint:disable:max-line-length
export default {
// Version
VERSION: '[[VERSION]]',
// Set this to `true` if this instance of Threema Web isn't being hosted on
// `web.threema.ch`.
SELF_HOSTED: false,
// General
VERSION_MOUNTAIN: 'Lütispitz',
VERSION_MOUNTAIN_URL: 'https://de.wikipedia.org/wiki/L%C3%BCtispitz',
VERSION_MOUNTAIN_IMAGE_URL: 'img/bg.original.jpg',
VERSION_MOUNTAIN_IMAGE_COPYRIGHT: 'CC BY-SA 3.0 dbrgn',
VERSION_MOUNTAIN_HEIGHT: 1987,
GIT_BRANCH: 'master',
// When the Threema Web protocol version changes, this can be set to the
// last version of Threema Web that supported the previous protocol
// version. If set to something different than `null`, a message will be
// shown to the user if reconnecting fails.
PREV_PROTOCOL_LAST_VERSION: '1.8.2',
// Store session password in-memory (if an appropriate API is available).
// Auto-generate a session password if none was entered.
IN_MEMORY_SESSION_PASSWORD: false,
} as threema.Config;