diff options
Diffstat (limited to 'std/http/file_server.ts')
-rw-r--r-- | std/http/file_server.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/std/http/file_server.ts b/std/http/file_server.ts index 5b8811c08..8fd2e7484 100644 --- a/std/http/file_server.ts +++ b/std/http/file_server.ts @@ -2,8 +2,8 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. // This program serves files in the current directory over HTTP. -// TODO Stream responses instead of reading them into memory. -// TODO Add tests like these: +// TODO(bartlomieju): Stream responses instead of reading them into memory. +// TODO(bartlomieju): Add tests like these: // https://github.com/indexzero/http-server/blob/master/test/http-server-test.js import { extname, posix } from "../path/mod.ts"; @@ -141,7 +141,7 @@ export async function serveFile( }; } -// TODO: simplify this after deno.stat and deno.readDir are fixed +// TODO(bartlomieju): simplify this after deno.stat and deno.readDir are fixed async function serveDir( req: ServerRequest, dirPath: string, |