config.ts 783 B

12345678910111213141516171819202122232425262728293031
  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. ],
  21. username: 'threema-angular',
  22. credential: 'Uv0LcCq3kyx6EiRwQW5jVigkhzbp70CjN2CJqzmRxG3UGIdJHSJV6tpo7Gj7YnGB',
  23. }],
  24. // Push
  25. PUSH_URL: 'https://push-web.threema.ch/push',
  26. } as threema.Config;