Skip to content

Commit

Permalink
修改websocket地址,方便搭建服务器
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperzlib committed Oct 19, 2024
1 parent 85d0852 commit 52dc0c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/src/controllers/http/Web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export class WebController {

let wsUrl = '';
if (config.webWsBaseUrl) {
wsUrl = `${config.webWsBaseUrl}/ws`;
wsUrl = `${config.webWsBaseUrl}/ws/`;
} else {
wsUrl = '/ws';
wsUrl = '/ws/';
}

let clientWsDomain = config.clientWsBaseUrl || config.webWsBaseUrl;
Expand Down

0 comments on commit 52dc0c3

Please sign in to comment.