Generate tv endpoints with eleventy

This commit is contained in:
Sam Carlton 2021-05-08 16:44:11 -05:00
parent f576c72451
commit 44fa023a06

View file

@ -236,12 +236,12 @@ class BuildLists {
const appType = getAppType( app )
if ( isVideo( app ) ) {
// this.endpointMaps.eleventy.add({
// route: getVideoEndpoint(app),
// payload: buildVideoPayload( app, this.allVideoAppsList, this.lists.video )
// })
this.endpointMaps.eleventy.set(
getVideoEndpoint(app),
buildVideoPayload( app, this.allVideoAppsList, this.lists.video )
)
this.endpointMaps.nuxt.set( getVideoEndpoint(app), buildVideoPayload( app, this.allVideoAppsList, this.lists.video ) )
// this.endpointMaps.nuxt.set( getVideoEndpoint(app), buildVideoPayload( app, this.allVideoAppsList, this.lists.video ) )
return
}