Fix streaming not work (#2396)

This commit is contained in:
YISH
2024-05-13 19:29:27 +08:00
committed by GitHub
parent d3f03e380e
commit 4fbc3f6cfe
+4
View File
@@ -12,6 +12,10 @@ export default defineConfig(async ({ mode }) => {
'/api': {
target: `http://localhost:${serverPort}`,
changeOrigin: true
},
'/socket.io': {
target: `http://localhost:${serverPort}`,
changeOrigin: true
}
}
}