import { defineConfig } from 'umi';
import proxy from './proxy';
export default defineConfig({
  proxy: proxy['dev'],
  define: {
    UPLOAD_URL: '/upload',
    REQUEST_BASE: '/api',
    // 下载文件时用到,直接window.open 拼上接口地址+参数
    SERVER_BASE: 'http://10.0.0.10:18012',
  },
});
