* 修复/zhihu/question,需要设置非登录状态下cookie * Update lib/routes/zhihu/execlib/g_encrypt.js Co-authored-by: Tony <TonyRL@users.noreply.github.com> * 根据TonyRL review建议进行了修改 * Update lib/routes/zhihu/question.js Co-authored-by: Rongrong <Rongronggg9@outlook.com> * Update lib/routes/zhihu/question.js Co-authored-by: Rongrong <Rongronggg9@outlook.com> * Update lib/routes/zhihu/question.js Co-authored-by: Rongrong <Rongronggg9@outlook.com> * Update lib/routes/zhihu/question.js Co-authored-by: Rongrong <Rongronggg9@outlook.com> * Update lib/routes/zhihu/question.js Co-authored-by: Rongrong <Rongronggg9@outlook.com> * Update lib/routes/zhihu/question.js Co-authored-by: Rongrong <Rongronggg9@outlook.com> * 增加cookie中dc_0字段检验 * Update lib/routes/zhihu/question.js Co-authored-by: Rongrong <Rongronggg9@outlook.com> * Update lib/routes/zhihu/question.js Co-authored-by: Rongrong <Rongronggg9@outlook.com> * refactor: migrate to v2 * fix: Incomplete URL substring sanitization Co-authored-by: Rongrong <Rongronggg9@outlook.com>
20 lines
1.0 KiB
JavaScript
20 lines
1.0 KiB
JavaScript
module.exports = (router) => {
|
|
router.get('/bookstore/newest', require('./bookstore/newest'));
|
|
router.get('/collection/:id/:getAll?', require('./collection'));
|
|
router.get('/daily', require('./daily'));
|
|
router.get('/daily/section/:sectionId', require('./daily_section'));
|
|
router.get('/hot/:category?', require('./hot'));
|
|
router.get('/hotlist', require('./hotlist'));
|
|
router.get('/people/activities/:id', require('./activities'));
|
|
router.get('/people/answers/:id', require('./answers'));
|
|
router.get('/people/pins/:id', require('./pin/people'));
|
|
router.get('/pin/daily', require('./pin/daily'));
|
|
router.get('/pin/hotlist', require('./pin/hotlist'));
|
|
router.get('/posts/:usertype/:id', require('./posts'));
|
|
router.get('/question/:questionId', require('./question'));
|
|
router.get('/timeline', require('./timeline'));
|
|
router.get('/topic/:topicId', require('./topic'));
|
|
router.get('/weekly', require('./weekly'));
|
|
router.get('/zhuanlan/:id', require('./zhuanlan'));
|
|
};
|