Updated the vite.config.js proxy
This commit is contained in:
parent
ca98a4ac4d
commit
990429925f
@ -11,7 +11,11 @@ export default defineConfig({
|
||||
},
|
||||
server: {
|
||||
proxy: {
|
||||
"/api": "http://localhost:8671/"
|
||||
"/api": {
|
||||
target: "http://localhost:8671",
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, ""),
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user