lemmy/ui/src/utils.ts

3 lines
190 B
TypeScript
Raw Normal View History

export let repoUrl = 'https://github.com/dessalines/rust-reddit-fediverse';
export let wsUri = (window.location.protocol=='https:'&&'wss://'||'ws://')+window.location.host + '/service/ws/';