From 172815f92676b5457fc9fd2a87299f5d8b199afc Mon Sep 17 00:00:00 2001 From: zimplexing Date: Fri, 15 Aug 2025 18:10:55 +0800 Subject: [PATCH] fix(update): append timestamp to GITHUB_RAW_URL for cache busting --- constants/UpdateConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constants/UpdateConfig.ts b/constants/UpdateConfig.ts index 2bd6db4..b746eda 100644 --- a/constants/UpdateConfig.ts +++ b/constants/UpdateConfig.ts @@ -7,7 +7,7 @@ export const UPDATE_CONFIG = { // GitHub相关URL GITHUB_RAW_URL: - "https://ghfast.top/https://raw.githubusercontent.com/orion-lib/OrionTV/refs/heads/master/package.json", + `https://ghfast.top/https://raw.githubusercontent.com/orion-lib/OrionTV/refs/heads/master/package.json?t=${Date.now()}`, // 获取平台特定的下载URL getDownloadUrl(version: string): string {