diff options
Diffstat (limited to 'ui/src/utils.ts')
-rw-r--r-- | ui/src/utils.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/src/utils.ts b/ui/src/utils.ts index 21122d0a..e01e4ce1 100644 --- a/ui/src/utils.ts +++ b/ui/src/utils.ts @@ -2,7 +2,6 @@ import { UserOperation, Comment } from './interfaces'; import * as markdown_it from 'markdown-it'; export let repoUrl = 'https://github.com/dessalines/lemmy'; -export let wsUri = (window.location.protocol=='https:'&&'wss://'||'ws://')+window.location.host + '/service/ws/'; export function msgOp(msg: any): UserOperation { let opStr: string = msg.op; |