refactor: Update image URLs to use globalSettings.TMDB_IMAGE_DOMAIN

This commit is contained in:
jxxghp
2024-09-08 13:05:14 +08:00
parent 5ad6d6d904
commit 30c3ad6c90
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -381,7 +381,7 @@ const getImgUrl: Ref<string> = computed(() => {
// 拼装季图片地址
function getSeasonPoster(posterPath: string) {
if (!posterPath) return ''
return `https://image.tmdb.org/t/p/w500${posterPath}`
return `https://${globalSettings.TMDB_IMAGE_DOMAIN}/t/p/w500${posterPath}`
}
// 将yyyy-mm-dd转换为yyyy年mm月dd日