bugfix
This commit is contained in:
parent
3c3fa358de
commit
5264d9a386
@ -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,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user