pass accept header

This commit is contained in:
shamoon
2025-03-16 19:18:30 -07:00
parent 899b41a749
commit 10fa5d3c72

View File

@@ -18,6 +18,7 @@ export default async function cachedFetch(url, duration, ua) {
if (ua) { if (ua) {
options.headers = { options.headers = {
"User-Agent": ua, "User-Agent": ua,
Accept: "application/json",
}; };
} }
const [, , data] = await httpProxy(url, options); const [, , data] = await httpProxy(url, options);