fix: 修改配置文件,图片等功能。

This commit is contained in:
tianyongbao
2025-04-30 12:12:10 +08:00
parent 58da6b59c7
commit 536374b5e8
39 changed files with 190 additions and 436 deletions

View File

@@ -40,8 +40,8 @@ export default defineConfig(({ mode, command }) => {
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api': {
target: 'http://127.0.0.1:8080',
// target: 'http://47.105.107.116:8080',
// target: 'http://127.0.0.1:8080',
target: 'http://117.72.197.29:8080',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
},
@@ -51,7 +51,7 @@ export default defineConfig(({ mode, command }) => {
rewrite: (p) => p.replace(/^\/file-upload/, '')
},
'/fileUrl': {
target: 'http://140.249.24.92:9000', // 本地
target: 'http://117.72.197.29:9000', // 本地
changeOrigin: true,
rewrite: (p) => p.replace(/^\/fileUrl/, '')
},