add docker support
This commit is contained in:
@ -13,9 +13,9 @@ import { IRequestResponse } from './types/http';
|
||||
* @doc https://umijs.org/docs/max/request#配置
|
||||
*/
|
||||
export const requestConfig: RequestConfig = {
|
||||
// baseURL: 'https://neighbourhood.cn',
|
||||
baseURL: (window.ENV?.BASE_URL || 'https://neighbourhood.cn') as string,
|
||||
|
||||
|
||||
baseURL: (window.ENV?.BASE_URL || 'https://neighbourhood.cn') as string,
|
||||
// 错误处理: umi@3 的错误处理方案。
|
||||
errorConfig: {
|
||||
// 错误抛出
|
||||
|
||||
Reference in New Issue
Block a user