Skip to content

Commit 6fb4c3c

Browse files
huseeiinatilafassina
authored andcommitted
fix: check for null instad of undefined
1 parent 9d25a45 commit 6fb4c3c

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)