diff --git a/helpers/build-app-list.js b/helpers/build-app-list.js index 4e466b9..a066682 100644 --- a/helpers/build-app-list.js +++ b/helpers/build-app-list.js @@ -135,6 +135,7 @@ export default async function () { url, text, slug: appSlug, + endpoint: `/app/${appSlug}`, section: { label: sectionTitle, slug: sectionSlug diff --git a/helpers/build-game-list.js b/helpers/build-game-list.js index fe4f7fd..2e00826 100644 --- a/helpers/build-game-list.js +++ b/helpers/build-game-list.js @@ -95,6 +95,7 @@ export default async function () { url: `https://rawg.io/search?query=${encodeURIComponent(game.Games)}`, text: statusesMessages[status], slug, + endpoint: `/game/${slug}`, section: { label: 'Games', slug: 'games'