Fixing endpoint.

This commit is contained in:
Dessalines 2019-04-09 07:46:44 -07:00
parent e24641dccb
commit a705e81c0c

View File

@ -1,2 +1,2 @@
export const endpoint = `${window.location.hostname}:8536`; export const endpoint = `${window.location.hostname}:8536`;
export let wsUri = (window.location.protocol=='https:') ? 'wss://' : 'ws://' + endpoint + '/service/ws'; export let wsUri = `${(window.location.protocol=='https:') ? 'wss://' : 'ws://'}${endpoint}/service/ws`;