Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
legobackend
/
lego-manage-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
bc4d3fce
authored
2026-04-18 12:20:35 +0800
by
chentao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
10f2f345
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
vite.config.js
vite.config.js
View file @
bc4d3fc
...
...
@@ -29,6 +29,13 @@ export default defineConfig(({ mode, command }) => {
forceHttps
:
false
,
proxy
:
{
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api'
:
{
target
:
'http://localhost:8082/'
,
// target: 'http://470k2111t0.zicp.vip/',
changeOrigin
:
true
,
secure
:
false
,
rewrite
:
(
p
)
=>
p
.
replace
(
/^
\/
dev-api/
,
''
)
},
'/prod-api'
:
{
target
:
'http://localhost:8082/'
,
// target: 'http://470k2111t0.zicp.vip/',
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment