baseUrl调整

This commit is contained in:
fan 2023-07-27 15:05:42 +08:00
parent ca472d7dad
commit 62ba34950a

View File

@ -3,13 +3,14 @@ function getHost(): string {
// return '192.168.3.47:9081';
// return '192.168.3.37:9081';
// return '192.168.3.15:9081';
return '192.168.3.233:9081';
// return '192.168.3.233:9081';
return 'joylink.club/jlcloud/xiannccda-server';
}
export function getHttpBase() {
return `http://${getHost()}`;
return `https://${getHost()}`;
}
export function getWebsocketUrl() {
return `ws://${getHost()}/ws-default`;
return `wss://${getHost()}/ws-default`;
}