fix(behance): fix image url (#17942)

This commit is contained in:
Tony 2024-12-20 02:26:15 +08:00 committed by GitHub
parent b27218c2d2
commit f5fc827bb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ async function handler(ctx) {
title: item.name,
link: item.url,
author: item.owners.map((owner) => owner.displayName).join(', '),
image: item.covers.size_808.url.replace('/808/', '/source/'),
image: item.covers.size_202.url.replace('/202/', '/source/'),
pubDate: item.publishedOn ? parseDate(item.publishedOn, 'X') : undefined,
category: item.fields?.map((field) => field.label.toLowerCase()),
projectId: item.id,