@mtgame/core 2.0.26 → 2.0.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7113,7 +7113,11 @@ class CentrifugoService {
7113
7113
  }
7114
7114
  if (!this.initializeEngineSubject) {
7115
7115
  this.initializeEngineSubject = new ReplaySubject(1);
7116
- this.httpClient.get(`${this.configService.get('apiUrl')}/api/v1/centrifugo_v2/`)
7116
+ let centrifugoConfigUrl = this.configService.get('centrifugoConfigUrl');
7117
+ if (!centrifugoConfigUrl) {
7118
+ centrifugoConfigUrl = `${this.configService.get('apiUrl')}/api/v1/centrifugo_v2/`;
7119
+ }
7120
+ this.httpClient.get(centrifugoConfigUrl)
7117
7121
  .subscribe(config => {
7118
7122
  this.initializeEngine({
7119
7123
  url: this.configService.get('centrifugoUrl'),