web-manager 4.0.11 → 4.0.12

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -382,7 +382,7 @@ class Manager {
382
382
  return 'http://localhost:5002';
383
383
  }
384
384
 
385
- const baseUrl = url || window.location.origin;
385
+ const baseUrl = url || this.config.firebase.app.config.authDomain || window.location.origin;
386
386
  const urlObj = new URL(baseUrl);
387
387
  const hostnameParts = urlObj.hostname.split('.');
388
388
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "4.0.11",
3
+ "version": "4.0.12",
4
4
  "description": "Easily access important variables such as the query string, current domain, and current page in a single object.",
5
5
  "main": "dist/index.js",
6
6
  "module": "src/index.js",