config.ts 825 B

1234567891011121314151617181920212223242526272829303132
  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. // SaltyRTC
  10. SALTYRTC_HOST: null,
  11. SALTYRTC_HOST_PREFIX: 'saltyrtc-',
  12. SALTYRTC_HOST_SUFFIX: '.threema.ch',
  13. SALTYRTC_PORT: 443,
  14. SALTYRTC_SERVER_KEY: 'b1337fc8402f7db8ea639e05ed05d65463e24809792f91eca29e88101b4a2171',
  15. // ICE
  16. ICE_SERVERS: [{
  17. urls: [
  18. 'turn:turn.threema.ch:443?transport=udp',
  19. 'turn:turn.threema.ch:443?transport=tcp',
  20. 'turns:turn.threema.ch:443',
  21. ],
  22. username: 'threema-angular',
  23. credential: 'Uv0LcCq3kyx6EiRwQW5jVigkhzbp70CjN2CJqzmRxG3UGIdJHSJV6tpo7Gj7YnGB',
  24. }],
  25. // Push
  26. PUSH_URL: 'https://push-web.threema.ch/push',
  27. } as threema.Config;