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.
This commit is contained in:
BB-fat
2026-08-14 06:54:01 +00:00
parent 461d204ca3
commit e2d07574d7
@@ -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" });