diff options
Diffstat (limited to 'src/internal-server/app/Controllers')
-rw-r--r-- | src/internal-server/app/Controllers/Http/StaticController.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/internal-server/app/Controllers/Http/StaticController.js b/src/internal-server/app/Controllers/Http/StaticController.js deleted file mode 100644 index 33e0e52d9..000000000 --- a/src/internal-server/app/Controllers/Http/StaticController.js +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | /** | ||
2 | * Controller for routes with static responses | ||
3 | */ | ||
4 | |||
5 | import { DEFAULT_FEATURES_CONFIG } from '../../../../config'; | ||
6 | |||
7 | // TODO: This endpoint and associated code needs to be remoeved as cleanup | ||
8 | class StaticController { | ||
9 | // Enable all features | ||
10 | features({ response }) { | ||
11 | return response.send(DEFAULT_FEATURES_CONFIG); | ||
12 | } | ||
13 | |||
14 | // Return an empty array | ||
15 | emptyArray({ response }) { | ||
16 | return response.send([]); | ||
17 | } | ||
18 | } | ||
19 | |||
20 | export default StaticController; | ||