1
This commit is contained in:
parent
e29d901529
commit
5f1ba3d630
|
|
@ -1 +1 @@
|
|||
VITE_APP_BASE_API = "http://10.7.1.183:5080/api"
|
||||
VITE_APP_BASE_API = "http://172.16.20.3:5080/api"
|
||||
|
|
@ -16,7 +16,7 @@ export default defineConfig({
|
|||
open: true,
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: "http://10.7.1.183:5080",
|
||||
target: "http://172.16.20.3:5080",
|
||||
changeOrigin: true
|
||||
// rewrite: (path) => path.replace(/^\/api/, "") //后端带了api/前缀的话就注释
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user