Fix client bundle pulling Redis/Prisma via habbo gamedata hotel.

Keep hotel list helpers client-safe; load CMS setting only from a server module.

Co-authored-by: Cursor <[email protected]>
This commit is contained in:
simoleo89
2026-07-17 22:30:46 +02:00
co-authored by Cursor
parent d1baaf798a
commit 785c1b6976
6 changed files with 25 additions and 13 deletions
+1 -1
View File
@@ -9,10 +9,10 @@ export type { HabboAssetBadge } from "@/types/furni";
import type { HabboAssetBadge } from "@/types/furni";
import {
getHabboGamedataHotel,
habboExternalTextsUrl,
type HabboGamedataHotel,
} from "@/lib/habbo-gamedata-hotel";
import { getHabboGamedataHotel } from "@/lib/services/habbo-gamedata-hotel";
const BADGE_IMAGE_BASE = "https://images.habbo.com/c_images/album1584";
const CACHE_TTL = 30 * 60 * 1000; // 30 minutes