summaryrefslogtreecommitdiff
path: root/http/file_server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'http/file_server.ts')
-rwxr-xr-xhttp/file_server.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/http/file_server.ts b/http/file_server.ts
index 1f3fdd586..20ad45be6 100755
--- a/http/file_server.ts
+++ b/http/file_server.ts
@@ -6,13 +6,14 @@
// TODO Add tests like these:
// https://github.com/indexzero/http-server/blob/master/test/http-server-test.js
+const { ErrorKind, cwd, args, stat, readDir, open } = Deno;
+import { DenoError } from "deno";
import {
listenAndServe,
ServerRequest,
setContentLength,
Response
} from "./server.ts";
-import { cwd, DenoError, ErrorKind, args, stat, readDir, open } from "deno";
import { extname } from "../fs/path.ts";
import { contentType } from "../media_types/mod.ts";