fix: isolate hwlab caddy api route

This commit is contained in:
Codex
2026-06-29 23:08:06 +00:00
parent 5cf5620216
commit ba9a1afc1b
2 changed files with 12 additions and 8 deletions
@@ -25,6 +25,6 @@ test("public exposure leaves auth routes on cloud-web same-origin proxy", () =>
assert.match(block, /@api path \/health\* \/v1\* \/json-rpc\* \/openapi\* \/docs\* \/swagger\*/u);
assert.doesNotMatch(block, /@api path[^\n]*\/auth\*/u);
assert.match(block, /reverse_proxy @api 127\.0\.0\.1:22089/u);
assert.match(block, /reverse_proxy 127\.0\.0\.1:22090/u);
assert.match(block, /handle @api \{\n\s+reverse_proxy 127\.0\.0\.1:22089/u);
assert.match(block, /handle \{\n\s+reverse_proxy 127\.0\.0\.1:22090/u);
});