config.ts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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#/media/File:Die_Mythen.jpg',
  11. VERSION_MOUNTAIN_HEIGHT: 1898,
  12. PREV_PROTOCOL_LAST_VERSION: '1.8.2',
  13. GIT_BRANCH: 'ios',
  14. // SaltyRTC
  15. SALTYRTC_HOST: 'saltyrtc-beta.threema.ch',
  16. SALTYRTC_HOST_PREFIX: 'saltyrtc-',
  17. SALTYRTC_HOST_SUFFIX: '.threema.ch',
  18. SALTYRTC_PORT: 443,
  19. SALTYRTC_SERVER_KEY: 'b1337fc8402f7db8ea639e05ed05d65463e24809792f91eca29e88101b4a2171',
  20. // ICE
  21. ICE_SERVERS: [{
  22. urls: [
  23. 'turn:ds-turn.threema.ch:443?transport=udp',
  24. 'turn:ds-turn.threema.ch:443?transport=tcp',
  25. 'turns:ds-turn.threema.ch:443',
  26. ],
  27. username: 'threema-angular',
  28. credential: 'Uv0LcCq3kyx6EiRwQW5jVigkhzbp70CjN2CJqzmRxG3UGIdJHSJV6tpo7Gj7YnGB',
  29. }],
  30. // Push
  31. PUSH_URL: 'https://push-web.threema.ch/push',
  32. // Debugging options
  33. DEBUG: false,
  34. MSG_DEBUGGING: false, // Log all incoming and outgoing messages
  35. MSGPACK_DEBUGGING: false, // Log URLs to the msgpack visualizer
  36. ICE_DEBUGGING: false,
  37. } as threema.Config;