mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: Update metacritic API root URL (#14497)
This commit is contained in:
@@ -11,7 +11,7 @@ module.exports = async (ctx) => {
|
||||
const limit = ctx.query.limit ? Number.parseInt(ctx.query.limit, 10) : 50;
|
||||
|
||||
const rootUrl = 'https://www.metacritic.com';
|
||||
const rootApiUrl = 'https://fandom-prod.apigee.net';
|
||||
const rootApiUrl = 'https://internal-prod.apigee.fandom.net';
|
||||
const apiUrl = new URL('v1/xapi/finder/metacritic/web', rootApiUrl).href;
|
||||
|
||||
const currentUrlObject = new URL(`/browse/${type}/all/all/all-time/${sort}/${filter ? `?${filter}` : ''}`, rootUrl);
|
||||
|
||||
Reference in New Issue
Block a user