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
|
||||
this.endpointSets.nuxt.add({
|
||||
route: getAppEndpoint(app),
|
||||
payload: { app }
|
||||
})
|
||||
// console.log('Added to nuxt endpoints', getAppEndpoint(app))
|
||||
// Add standard app endpoint
|
||||
if ( appType === 'formula' ) {
|
||||
this.endpointSets.eleventy.add({
|
||||
route: getAppEndpoint(app),
|
||||
payload: { 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
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue