chore: 更新接口地址和默认图标

This commit is contained in:
TsMask
2023-09-05 17:06:14 +08:00
parent dd6bcb8d02
commit 0c9d28fdf1
5 changed files with 3 additions and 4 deletions

View File

@@ -14,5 +14,4 @@ VITE_APP_CODE = maskAntd
VITE_APP_VERSION = '0.0.1'
# 接口基础URL地址-不带/后缀
VITE_API_BASE_URL = https://mock.apifox.cn/m1/1551143-0-default
# VITE_API_BASE_URL = http://192.168.56.1:6275
VITE_API_BASE_URL = http://192.168.2.119:3030/api/rest

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

@@ -14,13 +14,13 @@ export default defineConfig(({ mode }) => {
base: env.VITE_HISTORY_BASE_URL,
// 本地开发服务配置
server: {
port: 6269, // 端口
port: 3000, // 端口
host: true, // 暴露到网络地址
open: false, // 完成后自动跳转浏览器打开
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
[env.VITE_API_BASE_URL]: {
target: 'http://192.168.56.1:6275',
target: 'http://192.168.2.119:3030/api/rest',
changeOrigin: true,
rewrite: p => p.replace(/^\/dev-api/, ''),
},