aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/Controllers/Http/StaticController.js38
-rw-r--r--start/routes.js2
2 files changed, 39 insertions, 1 deletions
diff --git a/app/Controllers/Http/StaticController.js b/app/Controllers/Http/StaticController.js
index 5b8d716..265578f 100644
--- a/app/Controllers/Http/StaticController.js
+++ b/app/Controllers/Http/StaticController.js
@@ -31,6 +31,44 @@ class StaticController {
31 isTeamManagementIncludedInCurrentPlan: true, 31 isTeamManagementIncludedInCurrentPlan: true,
32 isTodosEnabled: true, 32 isTodosEnabled: true,
33 isTodosIncludedInCurrentPlan: true, 33 isTodosIncludedInCurrentPlan: true,
34 defaultTrialPlan: "franz-pro-yearly",
35 subscribeURL: "https://getferdi.com",
36 planSelectionURL: "https://getferdi.com",
37 isMagicBarEnabled: true,
38 hasInlineCheckout: true,
39 isPlanSelectionEnabled: false,
40 isTrialStatusBarEnabled: false,
41 canSkipTrial: true,
42 pricingConfig: {
43 currency: "$",
44 currencyID: "USD",
45 plans: {
46 personal: {
47 monthly: {
48 id: "ferdi-free",
49 price: 0,
50 billed: 0
51 },
52 yearly: {
53 id: "ferdi-completely-free",
54 price: 0,
55 billed: 0
56 }
57 },
58 pro: {
59 monthly: {
60 id: "ferdi-still-free",
61 price: 0,
62 billed: 0
63 },
64 yearly: {
65 id: "ferdi-forever-free",
66 price: 0,
67 billed: 0
68 }
69 }
70 }
71 }
34 }); 72 });
35 } 73 }
36 74
diff --git a/start/routes.js b/start/routes.js
index 06a36e2..b5674fd 100644
--- a/start/routes.js
+++ b/start/routes.js
@@ -52,7 +52,7 @@ Route.group(() => {
52 Route.get('workspace', 'WorkspaceController.list').middleware('auth'); 52 Route.get('workspace', 'WorkspaceController.list').middleware('auth');
53 53
54 // Static responses 54 // Static responses
55 Route.get('features', 'StaticController.features'); 55 Route.get('features/:mode?', 'StaticController.features');
56 Route.get('services', 'StaticController.emptyArray'); 56 Route.get('services', 'StaticController.emptyArray');
57 Route.get('news', 'StaticController.emptyArray'); 57 Route.get('news', 'StaticController.emptyArray');
58 Route.get('payment/plans', 'StaticController.plans'); 58 Route.get('payment/plans', 'StaticController.plans');