mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Add signal CDN 3
This commit is contained in:
parent
d8b1a2fffe
commit
65adfdd6f5
2 changed files with 8 additions and 2 deletions
|
@ -33,6 +33,7 @@ class LiveConfig {
|
|||
private static final String URL = "https://chat.signal.org";
|
||||
private static final String CDN_URL = "https://cdn.signal.org";
|
||||
private static final String CDN2_URL = "https://cdn2.signal.org";
|
||||
private static final String CDN3_URL = "https://cdn3.signal.org";
|
||||
private static final String STORAGE_URL = "https://storage.signal.org";
|
||||
private static final String SIGNAL_CDSI_URL = "https://cdsi.signal.org";
|
||||
private static final String SIGNAL_SVR2_URL = "https://svr2.signal.org";
|
||||
|
@ -58,7 +59,9 @@ class LiveConfig {
|
|||
Map.of(0,
|
||||
new SignalCdnUrl[]{new SignalCdnUrl(CDN_URL, TRUST_STORE)},
|
||||
2,
|
||||
new SignalCdnUrl[]{new SignalCdnUrl(CDN2_URL, TRUST_STORE)}),
|
||||
new SignalCdnUrl[]{new SignalCdnUrl(CDN2_URL, TRUST_STORE)},
|
||||
3,
|
||||
new SignalCdnUrl[]{new SignalCdnUrl(CDN3_URL, TRUST_STORE)}),
|
||||
new SignalStorageUrl[]{new SignalStorageUrl(STORAGE_URL, TRUST_STORE)},
|
||||
new SignalCdsiUrl[]{new SignalCdsiUrl(SIGNAL_CDSI_URL, TRUST_STORE)},
|
||||
new SignalSvr2Url[]{new SignalSvr2Url(SIGNAL_SVR2_URL, TRUST_STORE, null, null)},
|
||||
|
|
|
@ -33,6 +33,7 @@ class StagingConfig {
|
|||
private static final String URL = "https://chat.staging.signal.org";
|
||||
private static final String CDN_URL = "https://cdn-staging.signal.org";
|
||||
private static final String CDN2_URL = "https://cdn2-staging.signal.org";
|
||||
private static final String CDN3_URL = "https://cdn3-staging.signal.org";
|
||||
private static final String STORAGE_URL = "https://storage-staging.signal.org";
|
||||
private static final String SIGNAL_CDSI_URL = "https://cdsi.staging.signal.org";
|
||||
private static final String SIGNAL_SVR2_URL = "https://svr2.staging.signal.org";
|
||||
|
@ -58,7 +59,9 @@ class StagingConfig {
|
|||
Map.of(0,
|
||||
new SignalCdnUrl[]{new SignalCdnUrl(CDN_URL, TRUST_STORE)},
|
||||
2,
|
||||
new SignalCdnUrl[]{new SignalCdnUrl(CDN2_URL, TRUST_STORE)}),
|
||||
new SignalCdnUrl[]{new SignalCdnUrl(CDN2_URL, TRUST_STORE)},
|
||||
3,
|
||||
new SignalCdnUrl[]{new SignalCdnUrl(CDN3_URL, TRUST_STORE)}),
|
||||
new SignalStorageUrl[]{new SignalStorageUrl(STORAGE_URL, TRUST_STORE)},
|
||||
new SignalCdsiUrl[]{new SignalCdsiUrl(SIGNAL_CDSI_URL, TRUST_STORE)},
|
||||
new SignalSvr2Url[]{new SignalSvr2Url(SIGNAL_SVR2_URL, TRUST_STORE, null, null)},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue