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
b6950902
authored
2024-10-15 13:38:06 +0800
by
chentao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改路由配置
1 parent
efe05342
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
vite.config.js
vite.config.js
View file @
b695090
...
...
@@ -28,18 +28,18 @@ export default defineConfig(({ mode, command }) => {
open
:
true
,
forceHttps
:
false
,
proxy
:
{
'/dev-api'
:
{
target
:
'http://localhost:8082
/'
,
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/
,
''
)
}
//
'/dev-api': {
// target: 'http://legao.jimilicai.com/prod-api
/',
//
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/, '')
//
}
}
},
//fix:error:stdin>:7356:1: warning: "@charset" must be the first rule in the file
...
...
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