diff options
author | Abin Mn <abinmn619@gmail.com> | 2021-10-26 21:18:20 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-26 21:18:20 +0530 |
commit | 91c69428ed0dc2dd26b00c6dd5a6684f25515a34 (patch) | |
tree | 062a9a4946aa1367263533682ee59e795ea97234 /src/internal-server/app/Controllers/Http | |
parent | Add feature to display service name under service icon when the toggle for it... (diff) | |
download | ferdium-app-91c69428ed0dc2dd26b00c6dd5a6684f25515a34.tar.gz ferdium-app-91c69428ed0dc2dd26b00c6dd5a6684f25515a34.tar.zst ferdium-app-91c69428ed0dc2dd26b00c6dd5a6684f25515a34.zip |
Cleanup/remove feature toggle for todo, workspace, service proxy (#2134)
* Remove DEFAULT_FEATURES_CONFIG from config
* Remove static controller
Co-authored-by: Madhuri B <MadhuriBandanadam@users.noreply.github.com>
Diffstat (limited to 'src/internal-server/app/Controllers/Http')
-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; | ||