mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-02-27 08:06:42 +00:00
2 lines
165 B
TypeScript
2 lines
165 B
TypeScript
export const endpoint = `${window.location.hostname}:8536`;
|
|
export let wsUri = (window.location.protocol=='https:') ? 'wss://' : 'ws://' + endpoint + '/service/ws';
|