Fix streaming not work (#2396)
This commit is contained in:
parent
d3f03e380e
commit
4fbc3f6cfe
|
|
@ -12,6 +12,10 @@ export default defineConfig(async ({ mode }) => {
|
||||||
'/api': {
|
'/api': {
|
||||||
target: `http://localhost:${serverPort}`,
|
target: `http://localhost:${serverPort}`,
|
||||||
changeOrigin: true
|
changeOrigin: true
|
||||||
|
},
|
||||||
|
'/socket.io': {
|
||||||
|
target: `http://localhost:${serverPort}`,
|
||||||
|
changeOrigin: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue