refactor: 视频接口改用 R2 直连,移除 openlist 依赖

This commit is contained in:
wfz
2026-04-30 10:18:42 +08:00
parent e8e8d65545
commit b36b24449b
4 changed files with 7 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
export function getVideoUrl(name: string): string {
return `https://openlist.wufangzhen.com/d/139/wufangzhen.com/mp4/${name}`
return `https://pub-7d4a6640bc77480c99842eea19bb2b69.r2.dev/${name}`
}
export function clamp(value: number, min: number, max: number): number {