mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-12-01 13:51:10 +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';
|