Add /imaging route for avatar proxy and prevent redirect loops
Local Build and Deploy / deploy (push) Successful in 1m10s
Local Build and Deploy / deploy (push) Successful in 1m10s
This commit is contained in:
1 parent
169f658097
commit
71f154cf52
3 files changed
+116
-2
No files matched your search
@@ -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