Skip to content

Commit

Permalink
fix(pixiv/user): use imgProxy for image url (#17980)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsuyumi25 authored Dec 26, 2024
1 parent 3e7cb6d commit 57dbe9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/pixiv/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async function handler(ctx) {
return {
title: `${username} 的 pixiv 动态`,
link: `https://www.pixiv.net/users/${id}`,
image: illusts[0].user.profile_image_urls.medium,
image: pixivUtils.getProxiedImageUrl(illusts[0].user.profile_image_urls.medium),
description: `${username} 的 pixiv 最新动态`,
item: illusts.map((illust) => {
const images = pixivUtils.getImgs(illust);
Expand Down

0 comments on commit 57dbe9b

Please sign in to comment.