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.
@@ -44846,6 +44846,11 @@ var normalizeBasePath = (basePath) => {
44846
44846
  var inferBasePath = (appType) => {
44847
44847
  if (typeof window === "undefined") return "";
44848
44848
  const pathname = window.location?.pathname || "";
44849
+ const submitMarker = `/submit/${appType}/`;
44850
+ const submitMarkerIndex = pathname.indexOf(submitMarker);
44851
+ if (submitMarkerIndex > 0) {
44852
+ return pathname.slice(0, submitMarkerIndex);
44853
+ }
44849
44854
  const marker = `/${appType}/`;
44850
44855
  const markerIndex = pathname.indexOf(marker);
44851
44856
  if (markerIndex <= 0) return "";