config.ts 950 B

12345678910111213141516171819202122232425262728293031323334353637
  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: null,
  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. MSG_DEBUGGING: false,
  30. ICE_DEBUGGING: false,
  31. } as threema.Config;