Make app endpoints a generated value

This commit is contained in:
Sam Carlton 2020-12-11 14:04:03 -06:00
parent ea17b014af
commit 63c405943e
7 changed files with 56 additions and 20 deletions

View file

@ -7,6 +7,7 @@ import buildGamesList from './helpers/build-game-list.js'
import buildHomebrewList from './helpers/build-homebrew-list.js'
import { categories } from './helpers/categories.js'
import { getAppEndpoint } from './helpers/app-derived.js'
const listsOptions = [
@ -119,7 +120,7 @@ export default {
homebrewRoutes
] = lists.map((list, listI) => {
return list.map( app => {
return app.endpoint
return getAppEndpoint(app)
})
})