Finish writing the uri string
This commit is contained in:
parent
5ce4f45c89
commit
bf62907c7b
1 changed files with 2 additions and 2 deletions
|
|
@ -7,10 +7,10 @@ import VueSocketIOExt from 'vue-socket.io-extended';
|
||||||
|
|
||||||
Vue.config.productionTip = false;
|
Vue.config.productionTip = false;
|
||||||
|
|
||||||
// Get the URI for
|
// Get the URI for dev enfironments
|
||||||
let websocket_uri = `/`;
|
let websocket_uri = `/`;
|
||||||
if (process.env.NODE_ENV === `development`) {
|
if (process.env.NODE_ENV === `development`) {
|
||||||
websocket_uri = `http:${window.location.hostname}:8081`;
|
websocket_uri = `http://${window.location.hostname}:8081`;
|
||||||
};
|
};
|
||||||
|
|
||||||
Vue.use(clipboard);
|
Vue.use(clipboard);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue