fix: update Roblox friends API endpoint to use roproxy.com

This commit is contained in:
2026-07-02 19:48:41 +07:00 Unverified
parent e3a79a55e4
commit 179b8b2e30
+1 -1
View File
@@ -4,7 +4,7 @@ export async function getRobloxFollowerCount(): Promise<number | null> {
try {
const res = await fetch(
`https://friends.roblox.com/v1/users/${encodeURIComponent(userId)}/friends/count`,
`https://friends.roproxy.com/v1/users/${encodeURIComponent(userId)}/friends/count`,
{ cache: "no-store", signal: AbortSignal.timeout(5000) }
);
if (!res.ok) return null;