aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bun.js/http.exports.js2
1 files changed, 1 insertions, 1 deletions
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;