Add support for receiving attachments from CDN 2

This commit is contained in:
Ehren Kret 2020-04-17 15:51:39 -07:00 committed by Scott Nonnenberg
parent 4dc7631851
commit a0e9791623
16 changed files with 156 additions and 64 deletions

View file

@ -230,7 +230,10 @@ try {
window.WebAPI = window.textsecure.WebAPI.initialize({
url: config.serverUrl,
cdnUrl: config.cdnUrl,
cdnUrlObject: {
'0': config.cdnUrl0,
'2': config.cdnUrl2,
},
certificateAuthority: config.certificateAuthority,
contentProxyUrl: config.contentProxyUrl,
proxyUrl: config.proxyUrl,