Update vite.config.ts
This commit is contained in:
parent
a2b55a5b42
commit
8c7167c898
@ -33,10 +33,10 @@ export default defineConfig(({ command }) => {
|
|||||||
server: {
|
server: {
|
||||||
proxy: {
|
proxy: {
|
||||||
"/api/command": {
|
"/api/command": {
|
||||||
target: "ws://127.0.0.1:8080",
|
target: "ws://0.0.0.0:8080",
|
||||||
ws: true,
|
ws: true,
|
||||||
},
|
},
|
||||||
"/api": "http://127.0.0.1:8080",
|
"/api": "http://0.0.0.0:8080",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user