You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above should print status 302. Running the same sample with bun rundoes print status 302.
What do you see instead?
node:internal/deps/undici/undici:8651
throw new TypeError("immutable");
^
TypeError: immutable
at appendHeader (node:internal/deps/undici/undici:8651:15)
at _Headers.append (node:internal/deps/undici/undici:8854:16)
at mergeResponseWithSetHeaders (file:///Users/eli/code/elysia-node-redirect-issue/node_modules/elysia/dist/adapter/web-standard/handler.mjs:185:24)
at mapResponse (file:///Users/eli/code/elysia-node-redirect-issue/node_modules/@elysiajs/node/dist/index.mjs:240:18)
at Elysia.eval [as handleError] (eval at composeErrorHandler (file:///Users/eli/code/elysia-node-redirect-issue/node_modules/elysia/dist/compose.mjs:1435:10), <anonymous>:19:53)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
Node.js v23.6.1
Additional information
No response
Have you try removing the node_modules and bun.lockb and try again yet?
yes
The text was updated successfully, but these errors were encountered:
The redirect value is expected to be a full URL due to the Web Standard redirect.
We don't support partial URLs at the moment which is reported under #25.
What version of Elysia is running?
1.2.10
What platform is your computer?
Darwin 24.1.0 arm64 arm
What steps can reproduce the bug?
Run the following:
What is the expected behavior?
The above should print
status 302
. Running the same sample withbun run
does printstatus 302
.What do you see instead?
Additional information
No response
Have you try removing the
node_modules
andbun.lockb
and try again yet?yes
The text was updated successfully, but these errors were encountered: