fix: firefox addons link

This commit is contained in:
DIYgod 2020-01-08 18:33:04 +08:00
parent a8a0130b56
commit 79ec6cd971
No known key found for this signature in database
GPG Key ID: EC0B76A252D3EF67
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ module.exports = async (ctx) => {
return {
title: version,
description: versionInfo.releaseNotes || '',
link: `https://chrome.google.com/webstore/detail/${id}`,
link: `https://addons.mozilla.org/zh-CN/firefox/addon/${id}/versions/`,
pubDate: new Date(versionInfo.platformFiles.all.created).toUTCString(),
guid: version,
author: info.authors.map((author) => author.name).join(', '),