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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;