mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Fixing endpoint.
This commit is contained in:
parent
e24641dccb
commit
a705e81c0c
@ -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
Block a user