zkqh-lagrange-utils 0.0.57 → 0.0.58

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "zkqh-lagrange-utils",
3
3
  "private": false,
4
- "version": "0.0.57",
4
+ "version": "0.0.58",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -24,12 +24,12 @@ export const getDefaultUrl = () => {
24
24
  }
25
25
 
26
26
  /**
27
- * 默认插件安装包地址:当前域名端口 + /plugins.main.exe(由 nginx 代理到前端 dist
27
+ * 默认插件安装包地址:当前域名端口 + /plugins/main.exe(对应前端 public/plugins/main.exe)
28
28
  * @returns {string}
29
29
  */
30
30
  export const getDefaultDownloadUrl = () => {
31
- if (typeof window === "undefined" || !window.location) return "/plugins.main.exe"
32
- return `${window.location.origin}/plugins.main.exe`
31
+ if (typeof window === "undefined" || !window.location) return "/plugins/main.exe"
32
+ return `${window.location.origin}/plugins/main.exe`
33
33
  }
34
34
 
35
35
  /**