openxiangda 1.0.47 → 1.0.48

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.
@@ -43947,6 +43947,11 @@ var normalizeBasePath = (basePath) => {
43947
43947
  var inferBasePath = (appType) => {
43948
43948
  if (typeof window === "undefined") return "";
43949
43949
  const pathname = window.location?.pathname || "";
43950
+ const submitMarker = `/submit/${appType}/`;
43951
+ const submitMarkerIndex = pathname.indexOf(submitMarker);
43952
+ if (submitMarkerIndex > 0) {
43953
+ return pathname.slice(0, submitMarkerIndex);
43954
+ }
43950
43955
  const marker = `/${appType}/`;
43951
43956
  const markerIndex = pathname.indexOf(marker);
43952
43957
  if (markerIndex <= 0) return "";