wsproxytest/vite.config.js

11 lines
136 B
JavaScript

export default {
server: {
proxy: {
"/api": {
target: `ws://localhost:8078`,
ws: true,
}
}
},
}