aboutsummaryrefslogtreecommitdiffstats
path: root/app/Controllers/Http/StaticController.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/Http/StaticController.js')
-rw-r--r--app/Controllers/Http/StaticController.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/app/Controllers/Http/StaticController.js b/app/Controllers/Http/StaticController.js
index d1a1179..114e369 100644
--- a/app/Controllers/Http/StaticController.js
+++ b/app/Controllers/Http/StaticController.js
@@ -34,7 +34,6 @@ class StaticController {
34 defaultTrialPlan: 'franz-pro-yearly', 34 defaultTrialPlan: 'franz-pro-yearly',
35 subscribeURL: 'https://getferdi.com', 35 subscribeURL: 'https://getferdi.com',
36 planSelectionURL: 'https://getferdi.com', 36 planSelectionURL: 'https://getferdi.com',
37 isMagicBarEnabled: true,
38 hasInlineCheckout: true, 37 hasInlineCheckout: true,
39 isPlanSelectionEnabled: false, 38 isPlanSelectionEnabled: false,
40 isTrialStatusBarEnabled: false, 39 isTrialStatusBarEnabled: false,
@@ -101,9 +100,11 @@ class StaticController {
101 }) { 100 }) {
102 return response.send( 101 return response.send(
103 fs 102 fs
104 .readJsonSync(path.join( 103 .readJsonSync(path.join(
105 Helpers.appRoot(), "officialrecipes", "recipes", "all.json")) 104 Helpers.appRoot(), 'officialrecipes', 'recipes', 'all.json',
106 .filter((recipe) => recipe.featured)); 105 ))
106 .filter((recipe) => recipe.featured),
107 );
107 } 108 }
108 109
109 // Show announcements 110 // Show announcements