私人影库增加手动纠错

This commit is contained in:
mtvpls
2025-12-29 10:19:38 +08:00
parent 56b4d47902
commit 24223a5d27
5 changed files with 464 additions and 87 deletions
+6
View File
@@ -216,5 +216,11 @@ export function getTMDBImageUrl(
size: string = 'w500'
): string {
if (!path) return '';
// 如果已经是完整的 URL (http:// 或 https://),直接返回
if (path.startsWith('http://') || path.startsWith('https://')) {
return path;
}
return `https://image.tmdb.org/t/p/${size}${path}`;
}