@mtgame/core 1.0.55 → 1.0.56
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.
|
@@ -16487,7 +16487,11 @@
|
|
|
16487
16487
|
}
|
|
16488
16488
|
if (!this.initializeEngineSubject) {
|
|
16489
16489
|
this.initializeEngineSubject = new rxjs.ReplaySubject(1);
|
|
16490
|
-
this.
|
|
16490
|
+
var centrifugoConfigUrl = this.configService.get('centrifugoConfigUrl');
|
|
16491
|
+
if (!centrifugoConfigUrl) {
|
|
16492
|
+
centrifugoConfigUrl = this.configService.get('apiUrl') + "/api/v1/centrifugo_v2/";
|
|
16493
|
+
}
|
|
16494
|
+
this.httpClient.get(centrifugoConfigUrl)
|
|
16491
16495
|
.subscribe(function (config) {
|
|
16492
16496
|
_this.initializeEngine({
|
|
16493
16497
|
url: _this.configService.get('centrifugoUrl'),
|