feat: self-host all Habbo fonts via proxy route /api/font/[style]/[text]

This commit is contained in:
openhands committed 2026-07-03 17:21:05 +02:00
1 parent f3367e9b7b
commit d5ec7ba0f8
3 files changed
+94 -1

No files matched your search

+1 -1
View File
@@ -265,5 +265,5 @@ export const HABBO_FONT_GROUPS: HabboFontGroup[] = [
export function buildFontUrl(styleName: string, text: string): string {
const t = text.toLowerCase().replace(/\s/g, "+");
return `https://habbofont.net/font/${styleName}/${t}.gif`;
return `/api/font/${styleName}/${t}`;
}