fix(route): 仮面ライダ最新情報 (#13599)
This commit is contained in:
@@ -14,7 +14,7 @@ module.exports = async (ctx) => {
|
||||
|
||||
const { data: currentResponse } = await got(currentUrl);
|
||||
|
||||
const buildId = currentResponse.match(/"buildId":"(\w+)"/)[1];
|
||||
const buildId = currentResponse.match(/"buildId":"(.*?)"/)[1];
|
||||
|
||||
const apiCategoryUrl = new URL(`_next/data/${buildId}/news_articles.json`, rootUrl).href;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user