fix: Update metacritic API root URL (#14497)
This commit is contained in:
parent
58a1e11dfa
commit
37ae90fc79
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue