diff options
Diffstat (limited to 'std/http/testdata/file_server_as_library.ts')
-rw-r--r-- | std/http/testdata/file_server_as_library.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/std/http/testdata/file_server_as_library.ts b/std/http/testdata/file_server_as_library.ts index ab5fdcaab..cd4bf68db 100644 --- a/std/http/testdata/file_server_as_library.ts +++ b/std/http/testdata/file_server_as_library.ts @@ -3,10 +3,10 @@ import { serveFile } from "../file_server.ts"; const server = serve({ port: 8000 }); -console.log('Server running...'); +console.log("Server running..."); for await (const req of server) { - serveFile(req, './http/testdata/hello.html').then(response => { + serveFile(req, "./testdata/hello.html").then((response) => { req.respond(response); }); -}
\ No newline at end of file +} |