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