diff options
author | Alan Pearce | 2023-09-13 06:21:16 +0200 |
---|---|---|
committer | Alan Pearce | 2023-09-13 06:24:02 +0200 |
commit | a5e05c9241c8c6e7f0a8ce54fecdbb7df3c1ecec (patch) | |
tree | d80b83d5f654480b5353acd317a2bfe10697a4b9 /src | |
parent | 7c64360212a54cf259c503929c74c6c92c4d875d (diff) | |
download | homestead-a5e05c9241c8c6e7f0a8ce54fecdbb7df3c1ecec.tar.lz homestead-a5e05c9241c8c6e7f0a8ce54fecdbb7df3c1ecec.tar.zst homestead-a5e05c9241c8c6e7f0a8ce54fecdbb7df3c1ecec.zip |
Remove unused function
Diffstat (limited to 'src')
-rw-r--r-- | src/index.ts | 6 |
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>; |