@trackunit/iris-app-runtime-core 0.3.221 → 0.3.222-alpha-13ecf77e3fd.0

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/index.cjs.js CHANGED
@@ -422,8 +422,7 @@ const RestRuntime = {
422
422
 
423
423
  const RouterRuntime = {
424
424
  getBasePath: () => {
425
- var _a;
426
- return `${((_a = document.getElementById("baseHref")) === null || _a === void 0 ? void 0 : _a.getAttribute("href")) || "<missing baseHref>"}${global.module}`;
425
+ return `/${global.module}`;
427
426
  },
428
427
  };
429
428
 
package/index.esm.js CHANGED
@@ -420,8 +420,7 @@ const RestRuntime = {
420
420
 
421
421
  const RouterRuntime = {
422
422
  getBasePath: () => {
423
- var _a;
424
- return `${((_a = document.getElementById("baseHref")) === null || _a === void 0 ? void 0 : _a.getAttribute("href")) || "<missing baseHref>"}${global.module}`;
423
+ return `/${global.module}`;
425
424
  },
426
425
  };
427
426
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app-runtime-core",
3
- "version": "0.3.221",
3
+ "version": "0.3.222-alpha-13ecf77e3fd.0",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {