From 54d422c6be7577fc58482849f79d7f8de8027cd1 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Sat, 18 Sep 2021 14:12:07 -0500 Subject: [PATCH] Put app and formula endpoints into next endpoints --- build-lists.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build-lists.js b/build-lists.js index cd0e014..d8407dd 100644 --- a/build-lists.js +++ b/build-lists.js @@ -34,8 +34,11 @@ class BuildLists { // Where Nuxt Routes and Payloads get stored nuxt: new Map(), + // Where Next Routes and Payloads get stored + next: new Map(), + // Where Eleventy Endpoints get stored - eleventy: new Map() + eleventy: new Map(), } this.allVideoAppsList = new Set() @@ -275,7 +278,7 @@ class BuildLists { }) // Add app or formula endpoint - this.endpointMaps.eleventy.set( getAppEndpoint(app), { + this.endpointMaps.next.set( getAppEndpoint(app), { app, relatedVideos } )