This commit is contained in:
chenos 2021-07-23 19:53:43 +08:00
parent 3c3fa358de
commit 5264d9a386

View File

@ -15,7 +15,7 @@ import { UseRequestProvider } from 'ahooks';
import { extend } from 'umi-request'; import { extend } from 'umi-request';
const request = extend({ const request = extend({
prefix: 'http://localhost:23003/api/', prefix: process.env.API_URL,
timeout: 1000, timeout: 1000,
}); });