From a0f9268af5fd3520c89ee121e3037cd22615b117 Mon Sep 17 00:00:00 2001 From: dtzp555 Date: Sat, 11 Apr 2026 09:56:21 +1000 Subject: [PATCH] fix: dashboard token via URL param + correct screenshot - Support ?token=xxx query parameter for dashboard auth (enables headless browser screenshots and direct links) - Token is saved to localStorage and URL is cleaned up - Fix pathname matching to handle query parameters in URL - Replace html2canvas screenshot with Playwright (accurate colors) Co-Authored-By: Claude Opus 4.6 --- dashboard.html | 4 +++- docs/images/dashboard.png | Bin 877766 -> 219305 bytes server.mjs | 5 +++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dashboard.html b/dashboard.html index 5358f7c..45ef72c 100644 --- a/dashboard.html +++ b/dashboard.html @@ -85,7 +85,9 @@