import {defineConfig} from 'umi'; export default defineConfig({ proxy: { "/ball/v1/api": { target: "http://127.0.0.1:13005", changeOrigin: true, // pathRewrite: { "^/api": "" }, }, }, });