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