fix: 配置文件config.js变更
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
// baseUrl = protocol://ip:port
|
// baseUrl = protocol://ip:port
|
||||||
// baseUrl = 'http://192.168.8.100:33030';
|
// baseUrl = 'http://192.168.8.100:33030';
|
||||||
const protocol = window.location.protocol
|
const protocol = window.location.protocol
|
||||||
const wsprotocol = "ws:"
|
let wsprotocol = "ws:"
|
||||||
const hostname = window.location.hostname
|
const hostname = window.location.hostname
|
||||||
let host = `${hostname}:33030`;
|
let host = `${hostname}:33030`;
|
||||||
if (protocol === 'https:') {
|
if (protocol === 'https:') {
|
||||||
|
|||||||
Reference in New Issue
Block a user