diff options
Diffstat (limited to 'src/internal-server/app/Controllers/Http')
-rw-r--r-- | src/internal-server/app/Controllers/Http/StaticController.js | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/internal-server/app/Controllers/Http/StaticController.js b/src/internal-server/app/Controllers/Http/StaticController.js index b9a145061..28c5389a9 100644 --- a/src/internal-server/app/Controllers/Http/StaticController.js +++ b/src/internal-server/app/Controllers/Http/StaticController.js | |||
@@ -2,21 +2,15 @@ | |||
2 | * Controller for routes with static responses | 2 | * Controller for routes with static responses |
3 | */ | 3 | */ |
4 | 4 | ||
5 | import { DEFAULT_FEATURES_CONFIG } from '../../../../config'; | ||
6 | |||
7 | // TODO: This endpoint and associated code needs to be remoeved as cleanup | ||
5 | class StaticController { | 8 | class StaticController { |
6 | // Enable all features | 9 | // Enable all features |
7 | features({ | 10 | features({ |
8 | response, | 11 | response, |
9 | }) { | 12 | }) { |
10 | return response.send({ | 13 | return response.send(DEFAULT_FEATURES_CONFIG); |
11 | isServiceProxyEnabled: true, | ||
12 | isWorkspaceEnabled: true, | ||
13 | isAnnouncementsEnabled: true, | ||
14 | isSettingsWSEnabled: false, | ||
15 | isMagicBarEnabled: true, | ||
16 | isTodosEnabled: true, | ||
17 | subscribeURL: 'https://getferdi.com', | ||
18 | hasInlineCheckout: true, | ||
19 | }); | ||
20 | } | 14 | } |
21 | 15 | ||
22 | // Return an empty array | 16 | // Return an empty array |
@@ -34,4 +28,4 @@ class StaticController { | |||
34 | } | 28 | } |
35 | } | 29 | } |
36 | 30 | ||
37 | module.exports = StaticController; | 31 | export default StaticController; |