mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-01 14:57:14 +08:00
feat(route): utgd: adjust utgd apiUrl to new (#12894)
* Update timeline.js * Update topic.js
This commit is contained in:
@@ -23,7 +23,7 @@ module.exports = async (ctx) => {
|
||||
ctx.cache.tryGet(`untag-${item.id}`, async () => {
|
||||
const detailResponse = await got({
|
||||
method: 'get',
|
||||
url: `${rootUrl}/api/v2/pages/${item.id}/`,
|
||||
url: `${rootUrl}/api/v2/article/${item.id}/`,
|
||||
searchParams: {
|
||||
fields: 'article_description,article_category(category_name),article_tag(tag_name)',
|
||||
},
|
||||
|
||||
@@ -40,7 +40,7 @@ module.exports = async (ctx) => {
|
||||
ctx.cache.tryGet(`untag-${item.id}`, async () => {
|
||||
const detailResponse = await got({
|
||||
method: 'get',
|
||||
url: `${rootUrl}/api/v2/pages/${item.id}/`,
|
||||
url: `${rootUrl}/api/v2/article/${item.id}/`,
|
||||
searchParams: {
|
||||
fields: 'article_description',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user