From e2d07574d74275208fcbf94d2fef117924b67962 Mon Sep 17 00:00:00 2001 From: BB-fat <1056871944@qq.com> Date: Fri, 14 Aug 2026 06:54:01 +0000 Subject: [PATCH] fix(dsh-plugin-browserskill): prefix routes register without a trailing slash The webserver prefix matcher joins prefix + '/', so a registered '/bsk-observation/thumbnail/' never matched real paths. --- packages/dsh-plugin-browserskill/src/observation-http.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/dsh-plugin-browserskill/src/observation-http.ts b/packages/dsh-plugin-browserskill/src/observation-http.ts index f243368..f41fef7 100644 --- a/packages/dsh-plugin-browserskill/src/observation-http.ts +++ b/packages/dsh-plugin-browserskill/src/observation-http.ts @@ -115,7 +115,7 @@ export function registerObservationRoutes( }), webServer.register({ kind: "prefix", - path: `${ROUTE_BASE}/thumbnail/`, + path: `${ROUTE_BASE}/thumbnail`, handler: async (req, res) => { if (req.method !== "GET") { sendJson(res, 405, { error: "method not allowed" });