all repos — website @ fac8d24f1e611224ca6650b03cf0230a7adc6111

My website

Reduce code to only work with $PWD

Alan Pearce
commit

fac8d24f1e611224ca6650b03cf0230a7adc6111

parent

602f249c2cfac0e7b6613fb63f5fb519aa1ca952

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",