mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2025-12-13 14:12:50 +00:00
优化
This commit is contained in:
parent
9ac391e723
commit
41d3608aac
@ -1,7 +1,6 @@
|
|||||||
export const proxy = {
|
export const proxy = {
|
||||||
'/dev/': {
|
'/dev/': {
|
||||||
target: 'https://show.cool-admin.com/api',
|
target: 'http://127.0.0.1:8001',
|
||||||
// target: 'http://127.0.0.1:8001',
|
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
rewrite: (path: string) => path.replace(/^\/dev/, '')
|
rewrite: (path: string) => path.replace(/^\/dev/, '')
|
||||||
},
|
},
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user