Serve avatars from site's own /imaging endpoint instead of habbo.com
Local Build and Deploy / deploy (push) Successful in 1m7s
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:
1 parent
71f154cf52
commit
19faa5615c
6 files changed
+128
-79
No files matched your search
@@ -91,11 +91,11 @@ export const SETTINGS_GROUPS: SettingsGroup[] = [
|
||||
fields: [
|
||||
{
|
||||
key: "habbo_imaging_url",
|
||||
label: "Habbo imager URL",
|
||||
label: "Public imager URL",
|
||||
type: "url",
|
||||
defaultValue: "https://www.habbo.com/habbo-imaging/avatarimage",
|
||||
defaultValue: "/imaging",
|
||||
description:
|
||||
"Public Habbo avatar endpoint used in the browser. Do not point this at /api/imaging/avatar.",
|
||||
"Public avatar endpoint (relative or absolute). Leave as /imaging to serve from this site.",
|
||||
},
|
||||
{
|
||||
key: "imaging_use_habbo_fallback",
|
||||
|
||||
Reference in new issue
Block a user