From be0d48d4d7ee2fb79e050970d53c93c6cf3923fc Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Tue, 27 Aug 2024 16:17:13 +0200 Subject: [PATCH] Use https for live web socket. --- src/views/DashboardView.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/DashboardView.vue b/src/views/DashboardView.vue index 97101f79..e9ff5c97 100644 --- a/src/views/DashboardView.vue +++ b/src/views/DashboardView.vue @@ -254,7 +254,7 @@ export default { // away from the dashboard. This method is called if current mode is 'live'. setupLiveWebsocket() { // Connect to the simoc-sam SocketIO Server - const socket = io(`http://${window.location.hostname}:8081`) + const socket = io(`https://${window.location.hostname}:8081`) this.socket = socket console.log('Live socket created:', this.socket) socket.on('connect', msg => {