lemmy/ui/src/env.ts
Dessalines 397f65c81e Adding docker.
- Adding docker support. Fixes #6
- Completing the name change to lemmy. Fixes #36
- Running DB migrations from code. Fixes #38
2019-04-05 22:29:20 -07:00

2 lines
165 B
TypeScript

export const endpoint = `${window.location.hostname}:8080`;
export let wsUri = (window.location.protocol=='https:') ? 'wss://' : 'ws://' + endpoint + '/service/ws';