mirror of
https://github.com/gethomepage/homepage.git
synced 2026-09-29 23:41:16 -07:00
Chore: simplify sanitizeErrorURL
This commit is contained in:
@@ -77,7 +77,7 @@ describe("widgets/dockhand/proxy", () => {
|
||||
|
||||
expect(res.statusCode).toBe(500);
|
||||
expect(res.body.error.message).toBe("HTTP Error");
|
||||
expect(res.body.error.url).toContain("token=***");
|
||||
expect(res.body.error.url).toBe("dockhand (see logs for details)");
|
||||
});
|
||||
|
||||
it("supports token auth", async () => {
|
||||
|
||||
Reference in New Issue
Block a user