fix: make /dashboard a public endpoint (no auth required)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-10 21:21:36 +10:00
co-authored by Claude Opus 4.6
parent 566a01a6bd
commit 471bda2c40
+1 -1
View File
@@ -1039,7 +1039,7 @@ const server = createServer(async (req, res) => {
if (req.method === "OPTIONS") { res.writeHead(204); res.end(); return; }
// 3-mode auth: none | shared | multi
const isPublicEndpoint = req.url === "/health";
const isPublicEndpoint = req.url === "/health" || req.url === "/dashboard";
let authKeyName = "local";
let authKeyId = null;