diff --git a/.vscode/launch.json b/.vscode/launch.json index d013ba11..a75e74af 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -18,7 +18,7 @@ "type": "node", "cwd": "${workspaceFolder}/ui", "env": { - "VUE_APP_BASE_URL": "http://localhost:8081", + "NUXT_PUBLIC_WSS": ":8081/", } }, { diff --git a/ui/nuxt.config.ts b/ui/nuxt.config.ts index f226f28d..a64968a0 100644 --- a/ui/nuxt.config.ts +++ b/ui/nuxt.config.ts @@ -14,7 +14,7 @@ export default defineNuxtConfig({ runtimeConfig: { public: { domain: '/', - wss: ':8081/', + wss: process.env.VUE_APP_BASE_URL ?? '', version: '2.0.0', } },