diff --git a/config/config.ts b/config/config.ts index 6500b5a6..e55d3a93 100644 --- a/config/config.ts +++ b/config/config.ts @@ -73,7 +73,7 @@ if (isAntDesignProPreview) { plugins.push([ 'umi-plugin-pro', { - serverUrl: 'https://us-central1-antd-pro.cloudfunctions.net/api', + serverUrl: 'https://proapi.azurewebsites.net', }, ]); diff --git a/src/pages/ListTableList/_mock.ts b/src/pages/ListTableList/_mock.ts index 33b74a96..308ca8e8 100644 --- a/src/pages/ListTableList/_mock.ts +++ b/src/pages/ListTableList/_mock.ts @@ -1,3 +1,4 @@ +// eslint-disable-next-line import/no-extraneous-dependencies import { Request, Response } from 'express'; import { parse } from 'url'; import { TableListItem, TableListParams } from './data.d';