fix:default config.js for vue3
This commit is contained in:
16
public/default/config.js
Normal file
16
public/default/config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* config 非Nginx部署可使用的配置参数
|
||||
* Configuration parameters available for non Nginx deployments using config
|
||||
*/
|
||||
(function () {
|
||||
// host = ip:prot
|
||||
const host = "192.168.2.219:3030";
|
||||
|
||||
// Service Address 服务地址
|
||||
const baseUrl = `http://${host}`
|
||||
sessionStorage.setItem("baseUrl", baseUrl)
|
||||
|
||||
// websocket Address
|
||||
const wsUrl = `ws://${host}`
|
||||
sessionStorage.setItem("wsUrl", wsUrl)
|
||||
})();
|
||||
Reference in New Issue
Block a user