chore: 更新接口地址和默认图标
This commit is contained in:
@@ -14,5 +14,4 @@ VITE_APP_CODE = maskAntd
|
|||||||
VITE_APP_VERSION = '0.0.1'
|
VITE_APP_VERSION = '0.0.1'
|
||||||
|
|
||||||
# 接口基础URL地址-不带/后缀
|
# 接口基础URL地址-不带/后缀
|
||||||
VITE_API_BASE_URL = https://mock.apifox.cn/m1/1551143-0-default
|
VITE_API_BASE_URL = http://192.168.2.119:3030/api/rest
|
||||||
# VITE_API_BASE_URL = http://192.168.56.1:6275
|
|
||||||
|
|||||||
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 |
@@ -14,13 +14,13 @@ export default defineConfig(({ mode }) => {
|
|||||||
base: env.VITE_HISTORY_BASE_URL,
|
base: env.VITE_HISTORY_BASE_URL,
|
||||||
// 本地开发服务配置
|
// 本地开发服务配置
|
||||||
server: {
|
server: {
|
||||||
port: 6269, // 端口
|
port: 3000, // 端口
|
||||||
host: true, // 暴露到网络地址
|
host: true, // 暴露到网络地址
|
||||||
open: false, // 完成后自动跳转浏览器打开
|
open: false, // 完成后自动跳转浏览器打开
|
||||||
proxy: {
|
proxy: {
|
||||||
// https://cn.vitejs.dev/config/#server-proxy
|
// https://cn.vitejs.dev/config/#server-proxy
|
||||||
[env.VITE_API_BASE_URL]: {
|
[env.VITE_API_BASE_URL]: {
|
||||||
target: 'http://192.168.56.1:6275',
|
target: 'http://192.168.2.119:3030/api/rest',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: p => p.replace(/^\/dev-api/, ''),
|
rewrite: p => p.replace(/^\/dev-api/, ''),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user