Serve avatars from site's own /imaging endpoint instead of habbo.com
Local Build and Deploy / deploy (push) Successful in 1m7s

- Change default public imager URL from habbo.com to /imaging
- /imaging and /api/imaging/avatar now proxy from upstream (habbo.com) instead of redirecting
- Add resolveUpstreamBase() to separate public URL from upstream URL
- Update admin settings default and description
This commit is contained in:
openhands committed 2026-07-15 22:23:09 +02:00
1 parent 71f154cf52
commit 19faa5615c
6 files changed
+128 -79

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ import { redis } from "@/lib/redis";
const DEFAULTS: Record<string, string> = {
hotel_name: "Atom",
habbo_imaging_url: "https://www.habbo.com/habbo-imaging/avatarimage",
habbo_imaging_url: "/imaging",
logo_url: "",
nitro_client_url: "",
};