dont hardcode the wss url
This commit is contained in:
parent
fcb2eda4ba
commit
daea07c678
2 changed files with 2 additions and 2 deletions
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
|
|
@ -18,7 +18,7 @@
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"cwd": "${workspaceFolder}/ui",
|
"cwd": "${workspaceFolder}/ui",
|
||||||
"env": {
|
"env": {
|
||||||
"VUE_APP_BASE_URL": "http://localhost:8081",
|
"NUXT_PUBLIC_WSS": ":8081/",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ export default defineNuxtConfig({
|
||||||
runtimeConfig: {
|
runtimeConfig: {
|
||||||
public: {
|
public: {
|
||||||
domain: '/',
|
domain: '/',
|
||||||
wss: ':8081/',
|
wss: process.env.VUE_APP_BASE_URL ?? '',
|
||||||
version: '2.0.0',
|
version: '2.0.0',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue