From bf62907c7b531ba75c6496fb22a1824b03048ee1 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Tue, 5 Jan 2021 14:51:18 -0700 Subject: [PATCH] Finish writing the uri string --- web/src/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/main.js b/web/src/main.js index b9102f4..2f38b4d 100644 --- a/web/src/main.js +++ b/web/src/main.js @@ -7,10 +7,10 @@ import VueSocketIOExt from 'vue-socket.io-extended'; Vue.config.productionTip = false; -// Get the URI for +// Get the URI for dev enfironments let websocket_uri = `/`; if (process.env.NODE_ENV === `development`) { - websocket_uri = `http:${window.location.hostname}:8081`; + websocket_uri = `http://${window.location.hostname}:8081`; }; Vue.use(clipboard);