web-manager 4.0.11 → 4.0.13
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/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -382,7 +382,8 @@ class Manager {
|
|
382
382
|
return 'http://localhost:5002';
|
383
383
|
}
|
384
384
|
|
385
|
-
const
|
385
|
+
const authDomain = this.config.firebase.app.config.authDomain;
|
386
|
+
const baseUrl = url || (authDomain ? `https://${authDomain}` : window.location.origin);
|
386
387
|
const urlObj = new URL(baseUrl);
|
387
388
|
const hostnameParts = urlObj.hostname.split('.');
|
388
389
|
|
package/package.json
CHANGED