chore: 更新接口地址和默认图标
This commit is contained in:
@@ -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/, ''),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user