0
0
Fork 0

Finish writing the uri string

This commit is contained in:
Oliver-Akins 2021-01-05 14:51:18 -07:00
parent 5ce4f45c89
commit bf62907c7b

View file

@ -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);