aboutsummaryrefslogtreecommitdiffstats
path: root/src/internal-server/app/Controllers/Http/StaticController.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal-server/app/Controllers/Http/StaticController.js')
-rw-r--r--src/internal-server/app/Controllers/Http/StaticController.js15
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
8class StaticController { 8class 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
31export default StaticController; 20export default StaticController;