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
efe05342
authored
2024-10-14 23:27:38 +0800
by
chentao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
7fe9bb49
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
vite.config.js
vite.config.js
View file @
efe0534
...
...
@@ -28,18 +28,17 @@ export default defineConfig(({ mode, command }) => {
open
:
true
,
forceHttps
:
false
,
proxy
:
{
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api'
:
{
// target: 'http://39.107.64.215:89',
// target: 'http://healthy.a1.luyouxia.net:21973/',
// target: 'http://gyongyi.a1.luyouxia.net:26588/',
// target: 'http://183.131.85.64::8082/',
// target: 'http://192.168.1.7:8082/',
target
:
'http://localhost:8082/'
,
// target: 'http://gyongyi.a1.luyouxia.net:23074/',
changeOrigin
:
true
,
secure
:
false
,
rewrite
:
(
p
)
=>
p
.
replace
(
/^
\/
dev-api/
,
''
)
},
'/prod-api'
:
{
target
:
'http://localhost:8080/'
,
changeOrigin
:
true
,
secure
:
false
,
rewrite
:
(
p
)
=>
p
.
replace
(
/^
\/
prod-api/
,
''
)
}
}
},
...
...
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