增加了注释
This commit is contained in:
parent
da40033541
commit
e4a14da940
@ -47,8 +47,9 @@ export default defineConfig(({ mode, command }) => {
|
||||
open: false,
|
||||
proxy: {
|
||||
// https://cn.vitejs.dev/config/#server-proxy
|
||||
'/dev-api': {
|
||||
target: 'http://47.97.125.165:8905',
|
||||
"/dev-api": {
|
||||
target: "http://47.97.125.165:8905",
|
||||
//target: "http://localhost:9802",
|
||||
changeOrigin: true,
|
||||
rewrite: (p) => p.replace(/^\/dev-api/, ""),
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user