diff --git a/.env.dev b/.env.dev index ecf3a166..2d77bea5 100644 --- a/.env.dev +++ b/.env.dev @@ -1,5 +1,5 @@ // .env.dev NODE_ENV=dev -VUE_APP_DEV_IP=192.168.2.119 +VUE_APP_DEV_IP=192.168.2.118 VUE_APP_DEV_PORT=80 diff --git a/src/components/Apps/AppTerminalPanel.vue b/src/components/Apps/AppTerminalPanel.vue index 2b7e7964..de26dc1a 100644 --- a/src/components/Apps/AppTerminalPanel.vue +++ b/src/components/Apps/AppTerminalPanel.vue @@ -47,7 +47,7 @@ export default { data() { return { isLoading: false, - wsUrl: `ws://${this.$baseURL}/v1/container/${this.appid}/terminal?token=${this.$store.state.access_token}`, + wsUrl: `${this.$wsProtocol}//${this.$baseURL}/v1/container/${this.appid}/terminal?token=${this.$store.state.access_token}`, logData: "", timer: "", } diff --git a/src/components/logsAndTerminal/TerminalCard.vue b/src/components/logsAndTerminal/TerminalCard.vue index 414a7793..7f315a0f 100644 --- a/src/components/logsAndTerminal/TerminalCard.vue +++ b/src/components/logsAndTerminal/TerminalCard.vue @@ -1,5 +1,6 @@