mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-14 00:14:03 +00:00
4 lines
215 B
TypeScript
4 lines
215 B
TypeScript
|
// export const endpoint = window.location.origin;
|
||
|
export const endpoint = "http://localhost:8080";
|
||
|
export let wsUri = (window.location.protocol=='https:') ? 'wss://' : 'ws://' + endpoint.substr(7) + '/service/ws';
|