feat: use jsdelivr as version cache

This commit is contained in:
shinya
2025-08-06 02:36:49 +08:00
parent 44424564fc
commit a33000efac
4 changed files with 17 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
'use client';
const CURRENT_VERSION = '20250806022700';
const CURRENT_VERSION = '20250806023654';
// 版本检查结果枚举
export enum UpdateStatus {
@@ -13,7 +13,7 @@ export enum UpdateStatus {
// 远程版本检查URL配置
const VERSION_CHECK_URLS = [
'https://ghfast.top/raw.githubusercontent.com/senshinya/MoonTV/main/VERSION.txt',
'https://cdn.jsdelivr.net/gh/senshinya/moontv/VERSION.txt',
'https://raw.githubusercontent.com/senshinya/MoonTV/main/VERSION.txt',
];