Skip to content

Commit 11ca404

Browse files
committed
fix: check for null instad of undefined
1 parent 7d98afa commit 11ca404

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/start/src/server/fetchEvent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class HeaderProxy {
5353
return Array.isArray(h) ? h.join(", ") : (h as string) || null;
5454
}
5555
has(key: string) {
56-
return this.get(key) !== undefined;
56+
return this.get(key) !== null;
5757
}
5858
set(key: string, value: string) {
5959
return setResponseHeader(this.event, key, value);

0 commit comments

Comments
 (0)