From a705e81c0c4b451e600f5ddc35d312b34fee1225 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Tue, 9 Apr 2019 07:46:44 -0700 Subject: [PATCH] Fixing endpoint. --- ui/src/env.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/env.ts b/ui/src/env.ts index 954d835f..03594bc6 100644 --- a/ui/src/env.ts +++ b/ui/src/env.ts @@ -1,2 +1,2 @@ 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`;