diff --git a/config/proxy.ts b/config/proxy.ts index 9bc6d17..04f35fc 100644 --- a/config/proxy.ts +++ b/config/proxy.ts @@ -28,12 +28,12 @@ export default { */ test: { // localhost:8000/api/** -> https://preview.pro.ant.design/api/** - '/admin/': { + '/api/': { // target: 'https://proapi.azurewebsites.net', // target: 'http://192.168.1.32:6001', - target: 'http://192.168.1.32:9091', + target: 'https://iadminapi.zhongshuai2023.com', changeOrigin: true, - pathRewrite: { '^/admin': '/api' }, + pathRewrite: { '^/api': '/api' }, }, }, dev: {