don't rewrite api path in vite
This commit is contained in:
parent
c370d02ed7
commit
c9070bb056
@ -8,8 +8,7 @@ export default defineConfig({
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:8080',
|
||||
ws: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, '')
|
||||
ws: true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user