mooho-base-admin-plus 2.10.22 → 2.10.23
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/history.md
CHANGED
|
@@ -19515,7 +19515,7 @@ service.interceptors.request.use(
|
|
|
19515
19515
|
let r = window.$mode === "development" ? Setting.apiBaseURL.dev : Setting.apiBaseURL.prd;
|
|
19516
19516
|
a.url = r + a.url;
|
|
19517
19517
|
let o = r;
|
|
19518
|
-
r.startsWith("/") && (o = window.location.protocol + "//" + window.location.hostname, (window.location.port || "").trim() && (o = o + ":" + window.location.port)), a.headers["Request-Host"] = o;
|
|
19518
|
+
r.startsWith("/") && (o = window.location.protocol + "//" + window.location.hostname, (window.location.port || "").trim() && (o = o + ":" + window.location.port), o = o + r), a.headers["Request-Host"] = o;
|
|
19519
19519
|
const s = util$2.cookies.get("token");
|
|
19520
19520
|
return a.headers.Authorization = "Bearer " + s, router && router.currentRoute && router.currentRoute.value && (a.headers["Frontend-Url"] = router.currentRoute.value.path), a;
|
|
19521
19521
|
},
|