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