From 39f665427ac08d1f6c7717c119ad7fb27433b4fc Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Tue, 26 Apr 2022 21:30:04 -0500 Subject: [PATCH] Add endpointPrefixes to lists --- build-lists.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build-lists.js b/build-lists.js index 00b8477..e1b988a 100644 --- a/build-lists.js +++ b/build-lists.js @@ -59,21 +59,25 @@ class BuildLists { // Main build methods { name: 'app', + endpointPrefix: 'app', path: '/static/app-list.json', buildMethod: buildAppList, }, { name: 'game', + endpointPrefix: 'game', path: '/static/game-list.json', buildMethod: buildGamesList, }, { name: 'homebrew', + endpointPrefix: 'formula', path: '/static/homebrew-list.json', buildMethod: buildHomebrewList, }, { name: 'device', + endpointPrefix: 'device', path: '/static/device-list.json', buildMethod: buildDeviceList, }, @@ -83,6 +87,7 @@ class BuildLists { // since it depend on them { name: 'video', + endpointPrefix: 'tv', path: '/static/video-list.json', buildMethod: async () => {