From bffb7200e4e80df7af6215fb58e9d2d24fd339a9 Mon Sep 17 00:00:00 2001 From: Henry Wang Date: Fri, 10 Jul 2020 07:13:36 +0100 Subject: [PATCH] fix: producthunt URL (#5163) --- .github/ISSUE_TEMPLATE/bug_report_en.md | 2 +- lib/middleware/onerror.js | 2 +- lib/routes/producthunt/today.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report_en.md b/.github/ISSUE_TEMPLATE/bug_report_en.md index 3e0db32e24..b93741e4ec 100644 --- a/.github/ISSUE_TEMPLATE/bug_report_en.md +++ b/.github/ISSUE_TEMPLATE/bug_report_en.md @@ -6,7 +6,7 @@ about: Submit discovered bugs - Involved route diff --git a/lib/middleware/onerror.js b/lib/middleware/onerror.js index 2c6cf39c82..a2a9a57ee9 100644 --- a/lib/middleware/onerror.js +++ b/lib/middleware/onerror.js @@ -57,7 +57,7 @@ module.exports = async (ctx, next) => { const templateEn = ` - Involved route diff --git a/lib/routes/producthunt/today.js b/lib/routes/producthunt/today.js index bf3799b54f..0b52e07849 100644 --- a/lib/routes/producthunt/today.js +++ b/lib/routes/producthunt/today.js @@ -16,7 +16,7 @@ module.exports = async (ctx) => { return { title: l.name, description: `${l.tagline}
`, - link: 'https://www.producthunt.com/post/' + l.slug, + link: 'https://www.producthunt.com/posts/' + l.slug, pubDate: new Date(l.updated_at), }; }),