zywlagent 0.1.1 → 0.1.2
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/dist/gis-agent.js +1 -1
- package/package.json +1 -1
package/dist/gis-agent.js
CHANGED
|
@@ -20,7 +20,7 @@ function v({
|
|
|
20
20
|
}
|
|
21
21
|
if (typeof a != "string" || !["http:", "https:"].includes(e.protocol) || e.username || e.password || e.search || e.hash || e.pathname.replace(/\/+$/, "") !== "")
|
|
22
22
|
throw new TypeError("GIS_AGENT_PLATFORM_URL 只填写 HTTP(S) 服务地址和端口,不要包含 /platform、查询参数或账号密码。");
|
|
23
|
-
l = { ...u, baseUrl: `${e.origin}/platform` };
|
|
23
|
+
l = { ...u, baseUrl: `${e.origin}/api/platform` };
|
|
24
24
|
}
|
|
25
25
|
console.log("platformOptions>>>>>", l);
|
|
26
26
|
let r = !1, c, t, d;
|