Fix indentation
Этот коммит содержится в:
@@ -1103,13 +1103,13 @@ export function getFileName(path) {
|
|||||||
|
|
||||||
// Gets the websocket port to use. Configurable on the server.
|
// Gets the websocket port to use. Configurable on the server.
|
||||||
export function getWebsocketPort(protocol) {
|
export function getWebsocketPort(protocol) {
|
||||||
if ((/^wss:/).test(protocol)) { // wss://
|
if ((/^wss:/).test(protocol)) { // wss://
|
||||||
return ':' + global.window.mm_config.WebsocketSecurePort;
|
return ':' + global.window.mm_config.WebsocketSecurePort;
|
||||||
}
|
}
|
||||||
if ((/^ws:/).test(protocol)) {
|
if ((/^ws:/).test(protocol)) {
|
||||||
return ':' + global.window.mm_config.WebsocketPort;
|
return ':' + global.window.mm_config.WebsocketPort;
|
||||||
}
|
}
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getSessionIndex() {
|
export function getSessionIndex() {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user