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 ) const appType = getAppType( app )
if ( isVideo( app ) ) { if ( isVideo( app ) ) {
// this.endpointMaps.eleventy.add({ this.endpointMaps.eleventy.set(
// route: getVideoEndpoint(app), getVideoEndpoint(app),
// payload: buildVideoPayload( app, this.allVideoAppsList, this.lists.video ) 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 return
} }