all repos — homestead @ 234c9eadf1e7965fc3a6a669696ddae5e2c4ef11

Code for my website

Reduce code to only work with $PWD

Alan Pearce
commit

234c9eadf1e7965fc3a6a669696ddae5e2c4ef11

parent

a95e2842c84b9dba1b2b78cb184139d080f8b5a9

1 file changed, 2 insertions(+), 3 deletions(-)

changed files
M src/app.tssrc/app.ts
@@ -11,10 +11,9 @@ release: `homestead@${Bun.env.FLY_MACHINE_VERSION}`,
tracesSampleRate: 1.0, }); -const base = "."; -const publicDir = path.resolve(base, "public") + path.sep; +const publicDir = "public" + path.sep; -const config = readConfig(base); +const config = readConfig(); const defaultHeaders = { ...config.extra.headers, vary: "Accept-Encoding",