diff --git a/vite.config.ts b/vite.config.ts index bd754253..b170561e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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/, ''), },