config.ts 220 B

1234567891011
  1. import {defineConfig} from 'umi';
  2. export default defineConfig({
  3. proxy: {
  4. "/ball/v1/api": {
  5. target: "http://127.0.0.1:13005",
  6. changeOrigin: true,
  7. // pathRewrite: { "^/api": "" },
  8. },
  9. },
  10. });