config.ts 1.1 KB

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