From 11aa71a682eb2b649ecad3b3bea7d82aa8a2f307 Mon Sep 17 00:00:00 2001 From: Stephen Zhou <38493346+hyoban@users.noreply.github.com> Date: Thu, 20 Nov 2025 15:32:45 +0800 Subject: [PATCH] fix: allow image proxy for basic and anonymous user --- packages/internal/utils/src/img-proxy.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/internal/utils/src/img-proxy.ts b/packages/internal/utils/src/img-proxy.ts index ac4c1fb0e..9c7c47793 100644 --- a/packages/internal/utils/src/img-proxy.ts +++ b/packages/internal/utils/src/img-proxy.ts @@ -1,8 +1,7 @@ export const IMAGE_PROXY_URL = "https://webp.follow.is" const canUseImageProxy = (userRole?: string | null): boolean => { - if (!userRole) return false - return userRole === "plus" || userRole === "pro" + return userRole === "plus" || userRole === "pro" || userRole === "basic" || !userRole } export const imageRefererMatches = [