From a960a8b07ff367d45e9746ef3113b78bf33c7988 Mon Sep 17 00:00:00 2001 From: tone Date: Fri, 19 Dec 2025 10:23:34 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9A=82=E6=97=B6=E7=A7=BB=E9=99=A4us?= =?UTF-8?q?e-oss-sts=E7=9A=84API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/frontend/hooks/oss/use-oss-sts.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/frontend/hooks/oss/use-oss-sts.ts b/apps/frontend/hooks/oss/use-oss-sts.ts index e3dde37..9b5f840 100644 --- a/apps/frontend/hooks/oss/use-oss-sts.ts +++ b/apps/frontend/hooks/oss/use-oss-sts.ts @@ -1,11 +1,11 @@ -import { OssApi } from "@/lib/api"; +// import { OssApi } from "@/lib/api"; import { toast } from "sonner"; import useSWR from "swr"; export function useOssSts() { const { data: stsTokenData, isLoading, error, mutate } = useSWR( '/api/oss/sts', - () => OssApi.getStsToken(), + // () => OssApi.getStsToken(), { shouldRetryOnError: false, // refreshInterval: 59 * 60 * 1000,