From e4a7fcbde65f399bc09065890cad750e40d1568e Mon Sep 17 00:00:00 2001 From: kytwb Date: Fri, 31 Dec 2021 13:00:14 +0100 Subject: Remove calls to Franz infra for recipes --- app/Controllers/Http/StaticController.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/Controllers/Http/StaticController.js') diff --git a/app/Controllers/Http/StaticController.js b/app/Controllers/Http/StaticController.js index 4e604df..7854fd6 100644 --- a/app/Controllers/Http/StaticController.js +++ b/app/Controllers/Http/StaticController.js @@ -93,14 +93,13 @@ class StaticController { }); } - // Return list of popular recipes (copy of the response Franz's API is returning) popularRecipes({ response, }) { return response.send( fs .readJsonSync(path.join( - Helpers.appRoot(), 'officialrecipes', 'recipes', 'all.json', + Helpers.appRoot(), 'recipes', 'all.json', )) .filter((recipe) => recipe.featured), ); -- cgit v1.2.3-70-g09d2