fix: isolate hwlab caddy api route
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user