mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
test(web): align unit + e2e expectations with section routes
This commit is contained in:
@@ -166,7 +166,7 @@ describe("IP allowlist", () => {
|
||||
});
|
||||
|
||||
it("does NOT exempt regular API paths", () => {
|
||||
expect(isExemptPath("/api/v1/tools/crop")).toBe(false);
|
||||
expect(isExemptPath("/api/v1/tools/image/crop")).toBe(false);
|
||||
expect(isExemptPath("/api/v1/settings")).toBe(false);
|
||||
expect(isExemptPath("/api/auth/login")).toBe(false);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user