baseUrl调整
This commit is contained in:
parent
ca472d7dad
commit
62ba34950a
@ -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`;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user