Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
B
binfast-admin-view
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
binfast
binfast-admin-view
Commits
9095db1a
Commit
9095db1a
authored
Oct 15, 2025
by
刘斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 测试环境地址修改
parent
2165ef52
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
.env.production
apps/web-antd/.env.production
+1
-1
vite.config.mts
apps/web-antd/vite.config.mts
+1
-1
No files found.
apps/web-antd/.env.production
View file @
9095db1a
VITE_BASE=/
VITE_BASE=/
# 接口地址
# 接口地址
VITE_GLOB_API_URL=http
s://mock-napi.vben.pro
/api
VITE_GLOB_API_URL=http
://172.16.200.108:18090
/api
# 是否开启压缩,可以设置为 none, brotli, gzip
# 是否开启压缩,可以设置为 none, brotli, gzip
VITE_COMPRESS=none
VITE_COMPRESS=none
...
...
apps/web-antd/vite.config.mts
View file @
9095db1a
...
@@ -10,7 +10,7 @@ export default defineConfig(async () => {
...
@@ -10,7 +10,7 @@ export default defineConfig(async () => {
changeOrigin: true,
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, ''),
rewrite: (path) => path.replace(/^\/api/, ''),
// mock代理目标地址
// mock代理目标地址
target: 'http://
172.16.200.108:1809
0/api',
target: 'http://
localhost:900
0/api',
ws: true,
ws: true,
},
},
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment