diff options
Diffstat (limited to 'std/http/file_server.ts')
-rwxr-xr-x | std/http/file_server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/http/file_server.ts b/std/http/file_server.ts index a259acb3c..18a68aa49 100755 --- a/std/http/file_server.ts +++ b/std/http/file_server.ts @@ -126,7 +126,7 @@ async function serveDir( const fileUrl = posix.join(dirUrl, fileInfo.name ?? ""); if (fileInfo.name === "index.html" && fileInfo.isFile()) { // in case index.html as dir... - return await serveFile(req, filePath); + return serveFile(req, filePath); } // Yuck! let mode = null; |