恢复
This commit is contained in:
parent
fb75b75d04
commit
5da383846b
|
|
@ -19,17 +19,17 @@ export default defineConfig(({ mode }) => {
|
|||
port: 8888,
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://pbl.nat100.top', // http://champion.natapp1.cc
|
||||
target: 'http://champion.natapp1.cc',
|
||||
changeOrigin: true,
|
||||
rewrite: path => path.replace(/^\/api/, ''),
|
||||
},
|
||||
'/api1': {
|
||||
target: 'http://pbl.nat100.top', // http://champion.natapp1.cc
|
||||
target: 'http://champion.natapp1.cc',
|
||||
changeOrigin: true,
|
||||
rewrite: path => path.replace(/^\/api1/, ''),
|
||||
},
|
||||
'/gisApi': {
|
||||
target: 'http://pbl.nat100.top', // http://localhost:8080
|
||||
target: 'http://localhost:8080',
|
||||
changeOrigin: true,
|
||||
rewrite: path => path.replace(/^\/gisApi/, ''),
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user