config.ts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /**
  2. * Threema Web configuration.
  3. *
  4. * The various options are explained in the `README.md` file.
  5. */
  6. export default {
  7. // General
  8. SELF_HOSTED: false,
  9. VERSION_MOUNTAIN: 'Grosser Mythen',
  10. VERSION_MOUNTAIN_URL: 'https://de.wikipedia.org/wiki/Mythen',
  11. VERSION_MOUNTAIN_IMAGE_URL: 'https://commons.wikimedia.org/wiki/File:Die_Mythen.jpg',
  12. VERSION_MOUNTAIN_HEIGHT: 1898,
  13. PREV_PROTOCOL_LAST_VERSION: '1.8.2',
  14. GIT_BRANCH: 'beta',
  15. // SaltyRTC
  16. SALTYRTC_HOST: 'saltyrtc-beta.threema.ch',
  17. SALTYRTC_HOST_PREFIX: 'saltyrtc-',
  18. SALTYRTC_HOST_SUFFIX: '.threema.ch',
  19. SALTYRTC_PORT: 443,
  20. SALTYRTC_SERVER_KEY: 'b1337fc8402f7db8ea639e05ed05d65463e24809792f91eca29e88101b4a2171',
  21. SALTYRTC_LOG_LEVEL: 'warn',
  22. // ICE
  23. ICE_SERVERS: [{
  24. urls: [
  25. 'turn:ds-turn.threema.ch:443?transport=udp',
  26. 'turn:ds-turn.threema.ch:443?transport=tcp',
  27. 'turns:ds-turn.threema.ch:443',
  28. ],
  29. username: 'threema-angular',
  30. credential: 'Uv0LcCq3kyx6EiRwQW5jVigkhzbp70CjN2CJqzmRxG3UGIdJHSJV6tpo7Gj7YnGB',
  31. }],
  32. // Push
  33. PUSH_URL: 'https://push-web-beta.threema.ch/push',
  34. // Debugging options
  35. DEBUG: false,
  36. MSG_DEBUGGING: false, // Log all incoming and outgoing messages
  37. MSGPACK_DEBUGGING: false, // Log URLs to the msgpack visualizer
  38. ICE_DEBUGGING: false,
  39. } as threema.Config;