diff options
author | Marvin Hagemeister <marvin@deno.com> | 2024-05-26 09:32:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-26 09:32:46 +0200 |
commit | 8806eac63439a974820ea65dd68aac32b35130fa (patch) | |
tree | 2eeb65cb5c4fcc1e72958a5fa336fc368256cfa2 /tests/unit/write_file_test.ts | |
parent | f8975a8ecbdb31e846ff1a583b9cdb0bd8a71fcc (diff) |
fix(node): set default http server response code 200 (#23977)
Node sets the default HTTP response status code to 200 on the
`ServerResponse`. We initialised it as `undefined` before which caused a
problem with 11ty's dev server.
Thanks to @vrugtehagel for reporting this issue and finding the correct
fix as well 🎉
Fixes https://github.com/denoland/deno/issues/23970
Diffstat (limited to 'tests/unit/write_file_test.ts')
0 files changed, 0 insertions, 0 deletions