Add /imaging route for avatar proxy and prevent redirect loops
Local Build and Deploy / deploy (push) Successful in 1m10s

This commit is contained in:
openhands committed 2026-07-15 22:14:58 +02:00
1 parent 169f658097
commit 71f154cf52
3 files changed
+116 -2

No files matched your search

+4
View File
@@ -13,6 +13,10 @@ describe("resolveImagerBase", () => {
expect(
resolveImagerBase("https://www.epicnabbo.nl/api/imaging/avatar"),
).toBe(HABBO_IMAGER_URL);
expect(resolveImagerBase("/imaging")).toBe(HABBO_IMAGER_URL);
expect(
resolveImagerBase("https://www.epicnabbo.nl/imaging"),
).toBe(HABBO_IMAGER_URL);
});
it("keeps a custom Habbo-compatible base", () => {