fix: update Roblox friends API endpoint to use roproxy.com
This commit is contained in:
@@ -4,7 +4,7 @@ export async function getRobloxFollowerCount(): Promise<number | null> {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
const res = await fetch(
|
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) }
|
{ cache: "no-store", signal: AbortSignal.timeout(5000) }
|
||||||
);
|
);
|
||||||
if (!res.ok) return null;
|
if (!res.ok) return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user