mirror of https://github.com/LemmyNet/lemmy
TS func refactoring
parent
a7f2b2927d
commit
6718e2eb23
@ -1,6 +1,5 @@
|
||||
let host = `${window.location.hostname}`;
|
||||
let port = `${window.location.port == '4444' ? '8536' : window.location.port}`;
|
||||
let endpoint = `${host}:${port}`;
|
||||
export let wsUri = `${
|
||||
window.location.protocol == 'https:' ? 'wss://' : 'ws://'
|
||||
}${endpoint}/api/v1/ws`;
|
||||
const host = `${window.location.hostname}`;
|
||||
const port = `${window.location.port == '4444' ? '8536' : window.location.port}`;
|
||||
const endpoint = `${host}:${port}`;
|
||||
|
||||
export const wsUri = `${window.location.protocol == 'https:' ? 'wss://' : 'ws://'}${endpoint}/api/v1/ws`;
|
||||
|
@ -1 +1 @@
|
||||
export let version: string = 'v0.6.5';
|
||||
export const version: string = 'v0.6.5';
|
||||
|
Loading…
Reference in New Issue