about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index.ts6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/index.ts b/src/index.ts
index 418af5c..f423b01 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,8 +1,6 @@
 import path from "node:path";
 import fs, { Stats } from "node:fs";
 import fsp from "node:fs/promises";
-import util from "node:util";
-
 import { withHtmlLiveReload } from "bun-html-live-reload";
 
 import readConfig from "./config";
@@ -13,10 +11,6 @@ const publicDir = path.resolve(base, "public") + path.sep;
 const config = readConfig(base);
 const defaultHeaders = config.extra.headers;
 
-function getFilename(name: string): string {
-  return path.join(publicDir, `${name}`);
-}
-
 type File = {
   filename: string;
   headers?: Record<string, string>;