mirror of https://github.com/LemmyNet/lemmy.git
Fixing endpoint.
parent
9407437cf8
commit
0af9e08263
|
@ -1,2 +1,2 @@
|
||||||
export const endpoint = `${window.location.hostname}:8536`;
|
export const endpoint = `${window.location.hostname}:8536`;
|
||||||
export let wsUri = (window.location.protocol=='https:') ? 'wss://' : 'ws://' + endpoint + '/service/ws';
|
export let wsUri = `${(window.location.protocol=='https:') ? 'wss://' : 'ws://'}${endpoint}/service/ws`;
|
||||||
|
|
Loading…
Reference in New Issue