feat: browser headers on audit fetches + verified clone furnidata sources

This commit is contained in:
openhands
2026-08-03 19:00:45 +02:00
parent 080dc34e23
commit 2fba923a3a
8 changed files with 97 additions and 32 deletions
+2 -1
View File
@@ -11,6 +11,7 @@ import {
} from "@/lib/habbo-gamedata-hotel";
import { logger } from "@/lib/logger";
import { getHabboGamedataHotel } from "@/lib/services/habbo-gamedata-hotel";
import { browserHeaders } from "@/lib/services/import/core/browser-headers";
import type { OfficialHabboFurniEntry } from "@/types/furni";
const CACHE_TTL = 30 * 60 * 1000; // 30 minutes
@@ -42,7 +43,7 @@ export async function getOfficialHabboFurnidata(): Promise<
console.debug(`[habbo-furnidata] Fetching furnidata from ${url}...`);
const res = await fetch(url, {
signal: AbortSignal.timeout(20000),
headers: { Accept: "application/json" },
headers: browserHeaders(),
});
if (!res.ok) {