Network request fails with umi.request after updating Umi, React and Ant Design versions. #12791
Unanswered
IndhuKandhaiya
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
### Description
After updating
umi
from^3.5.23
to^4.3.28
,react
from^16.14.0
to18.2.0
andantd
from^5.2.3
to^5.21.5
, network requests usingumi.request
are failing, but the same request works when using the nativefetch
API.### Steps to Reproduce
login
function usingumi.request
:I have added the request configuration in my config.ts file located in the src directory.
plugins: ['@umijs/plugins/dist/request'],
request: {}
Beta Was this translation helpful? Give feedback.
All reactions