diff options
Diffstat (limited to 'src/internal-server/app/Controllers/Http')
-rw-r--r-- | src/internal-server/app/Controllers/Http/StaticController.js | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/internal-server/app/Controllers/Http/StaticController.js b/src/internal-server/app/Controllers/Http/StaticController.js index 28c5389a9..33e0e52d9 100644 --- a/src/internal-server/app/Controllers/Http/StaticController.js +++ b/src/internal-server/app/Controllers/Http/StaticController.js | |||
@@ -7,25 +7,14 @@ import { DEFAULT_FEATURES_CONFIG } from '../../../../config'; | |||
7 | // TODO: This endpoint and associated code needs to be remoeved as cleanup | 7 | // TODO: This endpoint and associated code needs to be remoeved as cleanup |
8 | class StaticController { | 8 | class StaticController { |
9 | // Enable all features | 9 | // Enable all features |
10 | features({ | 10 | features({ response }) { |
11 | response, | ||
12 | }) { | ||
13 | return response.send(DEFAULT_FEATURES_CONFIG); | 11 | return response.send(DEFAULT_FEATURES_CONFIG); |
14 | } | 12 | } |
15 | 13 | ||
16 | // Return an empty array | 14 | // Return an empty array |
17 | emptyArray({ | 15 | emptyArray({ response }) { |
18 | response, | ||
19 | }) { | ||
20 | return response.send([]); | 16 | return response.send([]); |
21 | } | 17 | } |
22 | |||
23 | // Show announcements | ||
24 | announcement({ | ||
25 | response, | ||
26 | }) { | ||
27 | return response.send({}); | ||
28 | } | ||
29 | } | 18 | } |
30 | 19 | ||
31 | export default StaticController; | 20 | export default StaticController; |