This commit is contained in:
pengjunchao 2026-07-28 10:17:55 +08:00
parent fb75b75d04
commit 5da383846b

View File

@ -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/, ''),
},