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,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/, ''),
},