all repos — archive/homestead @ a5e05c9241c8c6e7f0a8ce54fecdbb7df3c1ecec

My future indieweb platform

Remove unused function

Alan Pearce
commit

a5e05c9241c8c6e7f0a8ce54fecdbb7df3c1ecec

parent

7c64360212a54cf259c503929c74c6c92c4d875d

1 file changed, 0 insertions(+), 6 deletions(-)

jump to
M src/index.tssrc/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";
@@ -12,10 +10,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;