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
|
@@ -24,12 +24,12 @@ export const getDefaultUrl = () => {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* 默认插件安装包地址:当前域名端口 + /plugins.main.exe
|
|
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
|
|
32
|
-
return `${window.location.origin}/plugins
|
|
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
|
/**
|