aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-04-04 23:27:00 -0700
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-04-05 00:17:57 -0700
commit82051a5f2249d5056901fd38f91d2dbaee28cad8 (patch)
treeb8e5012c85df2a338ed656362a05377cc8e9123e
parent17b9167e527a1a7abcae0af581180467ca665da9 (diff)
downloadbun-82051a5f2249d5056901fd38f91d2dbaee28cad8.tar.gz
bun-82051a5f2249d5056901fd38f91d2dbaee28cad8.tar.zst
bun-82051a5f2249d5056901fd38f91d2dbaee28cad8.zip
Update http-file.ts
-rw-r--r--examples/bun/http-file.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/bun/http-file.ts b/examples/bun/http-file.ts
index 1699e20e0..f2c0773e8 100644
--- a/examples/bun/http-file.ts
+++ b/examples/bun/http-file.ts
@@ -3,7 +3,6 @@ Bun.serve({
fetch(req) {
const url = new URL(req.url.substring(1), "file://" + import.meta.path);
const path = Bun.resolveSync(url.pathname, import.meta.path);
-
return new Response(Bun.file(path));
},