mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Load formulae into eleventy endpoints
This commit is contained in:
parent
5b1fc8c9cf
commit
b57a1fff33
1 changed files with 14 additions and 6 deletions
|
|
@ -252,12 +252,20 @@ class BuildLists {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add app or game endpoint
|
// Add standard app endpoint
|
||||||
this.endpointSets.nuxt.add({
|
if ( appType === 'formula' ) {
|
||||||
route: getAppEndpoint(app),
|
this.endpointSets.eleventy.add({
|
||||||
payload: { app }
|
route: getAppEndpoint(app),
|
||||||
})
|
payload: { app }
|
||||||
// console.log('Added to nuxt endpoints', getAppEndpoint(app))
|
})
|
||||||
|
} else {
|
||||||
|
// Add app or game endpoint
|
||||||
|
this.endpointSets.nuxt.add({
|
||||||
|
route: getAppEndpoint(app),
|
||||||
|
payload: { app }
|
||||||
|
})
|
||||||
|
// console.log('Added to nuxt endpoints', getAppEndpoint(app))
|
||||||
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue