config.ts 1.1 KB

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