From 3adf06e4e102b6962481990dbefa16d37347ff0f Mon Sep 17 00:00:00 2001 From: Fredrik Johansson Date: Sun, 19 Jul 2026 19:50:36 +0200 Subject: [PATCH] Add favicon Pulse-line mark in the status-yellow accent, on both the status page and /admin. Wires up static file serving and fixes the Dockerfile to actually ship the public/ dir into the runtime image. Co-Authored-By: Claude Sonnet 5 --- Dockerfile | 1 + public/favicon.svg | 4 ++++ src/adminPage.ts | 1 + src/index.ts | 1 + src/page.ts | 1 + 5 files changed, 8 insertions(+) create mode 100644 public/favicon.svg diff --git a/Dockerfile b/Dockerfile index f672a91..aab10a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,7 @@ RUN apk add --no-cache python3 make g++ COPY package*.json ./ RUN npm install --omit=dev && apk del python3 make g++ COPY --from=build /app/dist ./dist +COPY --from=build /app/public ./public # DATA_DIR (SQLite DB) is a mutable runtime volume — not baked into the # image, so redeploys don't clobber host overrides / manual targets. diff --git a/public/favicon.svg b/public/favicon.svg new file mode 100644 index 0000000..4e9ff62 --- /dev/null +++ b/public/favicon.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/adminPage.ts b/src/adminPage.ts index f23e5c3..fc2101f 100644 --- a/src/adminPage.ts +++ b/src/adminPage.ts @@ -5,6 +5,7 @@ export function renderAdminPage(): string { admin / status +