获取token修改

This commit is contained in:
仲么了
2024-01-22 10:31:07 +08:00
parent ac96d0365a
commit 08e0e9e013
6 changed files with 138 additions and 26 deletions

View File

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