bx-rest 0.0.26 → 0.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.
package/fesm2020/bx-rest.mjs
CHANGED
|
@@ -851,8 +851,8 @@ class SessionKeyServices extends BaseServices {
|
|
|
851
851
|
}
|
|
852
852
|
}
|
|
853
853
|
getBaseUrl() {
|
|
854
|
-
return of(this.prepareBaseAddress(REST_SETTINGS.urls.home));
|
|
855
|
-
// return this.authData$.pipe( // разобраться позже
|
|
854
|
+
return of(this.prepareBaseAddress(REST_SETTINGS.urls.home, 'rest')); // TODO: вынести в настройки
|
|
855
|
+
// return this.authData$.pipe( // TODO: разобраться позже
|
|
856
856
|
// take(1),
|
|
857
857
|
// map(v => (v && v.domain) ? this.prepareBaseAddress(v.domain) : undefined)
|
|
858
858
|
// )
|