From 188f472ed2956c94e41842d24ae1fb4fe58b953f Mon Sep 17 00:00:00 2001 From: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> Date: Sun, 22 Jan 2023 14:58:57 -0800 Subject: Update http.exports.js --- src/bun.js/http.exports.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bun.js') diff --git a/src/bun.js/http.exports.js b/src/bun.js/http.exports.js index 2e7f0aed3..1655fa09d 100644 --- a/src/bun.js/http.exports.js +++ b/src/bun.js/http.exports.js @@ -60,7 +60,7 @@ export class Server extends EventEmitter { try { this.#server = Bun.serve({ port, - hostName: host, + hostname: host, fetch(req) { var pendingResponse; -- cgit v1.2.3