forked from nutomic/lemmy
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';
|