diff --git a/src/requestConfig.ts b/src/requestConfig.ts index e4a7f2f..9b84688 100644 --- a/src/requestConfig.ts +++ b/src/requestConfig.ts @@ -12,7 +12,7 @@ import { IRequestResponse } from './types/http'; * @doc https://umijs.org/docs/max/request#配置 */ export const requestConfig: RequestConfig = { - baseURL: (window.ENV?.BASE_URL || 'https://dev.neighbourhood.cn') as string, + baseURL: (window.ENV?.BASE_URL || 'https://neighbourhood.cn') as string, // 错误处理: umi@3 的错误处理方案。 errorConfig: { // 错误抛出