@stemy/ngx-utils 13.6.11 → 13.6.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.
@@ -5640,7 +5640,9 @@ function loadBaseUrl() {
5640
5640
  catch (e) {
5641
5641
  const qualifiedUrl = location.protocol + "//" + location.host;
5642
5642
  const stack = (e.stack || "");
5643
- const srcUrl = (stack.match(new RegExp(qualifiedUrl + ".*?\\.js", "g")) || stack.match(/http([A-Z:\/\-.]+)\.js/gi)).shift();
5643
+ const srcUrl = (stack.match(new RegExp(qualifiedUrl + ".*?\\.js", "g")) ||
5644
+ stack.match(/http([A-Z0-9:\/\-.]+)\.js/gi) ||
5645
+ [`${qualifiedUrl}/main.js`]).shift();
5644
5646
  currentUrl = new URL(srcUrl ?? "");
5645
5647
  }
5646
5648
  }