Skip to content

Commit 012bdff

Browse files
committed
#213 fixed leading double-slash in websocket connections
1 parent b2efc82 commit 012bdff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-src/js/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ export function getWebsocketUrl(relativePath) {
319319

320320
var dir = getUrlDir();
321321
if (dir) {
322-
hostUrl += '/' + dir;
322+
hostUrl += dir;
323323
}
324324

325325
if (isEmptyString(relativePath)) {

0 commit comments

Comments
 (0)