fix: github file rule, close #10

This commit is contained in:
DIYgod
2019-07-23 01:31:29 +08:00
parent bfe6b96311
commit 3c26823202
+1 -2
View File
@@ -145,9 +145,8 @@ module.exports = {
}, {
title: 'GitHub 文件 Commits',
description: 'https://docs.rsshub.app/programming.html#github',
source: '/:user/:repo/:branch/*filepath',
source: '/:user/:repo/blob/:branch/*filepath',
target: '/github/file/:user/:repo/:branch/:filepath',
verification: (params) => (params.branch !== 'pull' && params.branch !== 'issues'),
}],
},
'zhihu.com': {