治理修改

This commit is contained in:
仲么了
2024-02-19 11:34:03 +08:00
parent 570f21bbc4
commit 4be2b5b2cd
3 changed files with 5 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ export default defineConfig({
proxy: {
'/api': {
// target: 'http://192.168.1.81:10215', //数据中心
target: 'http://192.168.1.22:10215', //治理
target: 'https://pqmcn.com:8092/api', //治理
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, '') //路径重写,把'/api'替换为''
}