Next.js 14 fetch requests show user_agent=undici in the backend logs
#57875
-
|
Although Undici is removed in Next.js 14, the Is this a misconfiguration in our code, or a bug in Next.js 14? |
Beta Was this translation helpful? Give feedback.
Answered by
icyJoseph
Nov 1, 2023
Replies: 1 comment 6 replies
-
|
This is coming from Node's side right?
async function run() {
const req = await fetch('<request bin url>');
console.log(req.status);
}
run();
The user-agent is |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Because Node's fetch family of APIs are built using undici.