mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-12 23:44:01 +00:00
3 lines
215 B
TypeScript
3 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';
|