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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

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
}
}
}