This commit is contained in:
jxxghp
2024-04-19 19:51:14 +08:00
parent e85c2870e2
commit 7b38d2d74f
8 changed files with 15 additions and 9 deletions

View File

@@ -400,7 +400,7 @@ const getImgUrl: Ref<string> = computed(() => {
const url = props.media?.poster_path?.replace('original', 'w500') ?? noImage
// 如果地址中包含douban则使用中转代理
if (url.includes('doubanio.com'))
return `${import.meta.env.VITE_API_BASE_URL}douban/img/${encodeURIComponent(url)}`
return `${import.meta.env.VITE_API_BASE_URL}douban/img?imgurl=${encodeURIComponent(url)}`
return url
})