Update vite.config.ts

This commit is contained in:
novaTopFlex 2024-05-19 11:33:47 -04:00 committed by GitHub
parent a2b55a5b42
commit 8c7167c898
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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",
},
},
};