diff options
author | 2023-01-22 14:58:57 -0800 | |
---|---|---|
committer | 2023-01-22 14:58:57 -0800 | |
commit | 188f472ed2956c94e41842d24ae1fb4fe58b953f (patch) | |
tree | f3763622561ad0e080a25081ba248351a532c086 | |
parent | befd97a891d7de50ae130cdf262b2bf6d5ac69bc (diff) | |
download | bun-188f472ed2956c94e41842d24ae1fb4fe58b953f.tar.gz bun-188f472ed2956c94e41842d24ae1fb4fe58b953f.tar.zst bun-188f472ed2956c94e41842d24ae1fb4fe58b953f.zip |
Update http.exports.js
-rw-r--r-- | src/bun.js/http.exports.js | 2 |
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; |