Add /imaging route for avatar proxy and prevent redirect loops
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user