修改 ImageUpload 组件的回显 url 地址

This commit is contained in:
quantulr
2022-09-05 10:41:30 +08:00
parent 309752b8bb
commit ae74847c93
3 changed files with 2 additions and 6 deletions

View File

@ -31,7 +31,7 @@ export default defineConfig(({ mode, command }) => {
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api': {
target: 'http://120.26.107.74:1618',
target: 'http://192.168.31.162:1618',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
}