fix: route to github website instead of baidu when error (#4438)

This commit is contained in:
AmosChenYQ
2020-04-14 19:19:05 +08:00
committed by GitHub
parent 9ed2080899
commit 5cd9b0499e
+1 -1
View File
@@ -2,7 +2,7 @@ const got = require('@/utils/got');
const cheerio = require('cheerio');
const ooa_base_url = 'http://oaa.tju.edu.cn/';
const repo_url = 'https://www.baidu.com';
const repo_url = 'https://github.com/DIYgod/RSSHub/issues';
module.exports = async (ctx) => {
const type = ctx.params && ctx.params.type;