aboutsummaryrefslogtreecommitdiffstats
path: root/src/internal-server/app/Controllers/Http/StaticController.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2021-10-27 07:25:26 +0530
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2021-10-27 07:25:26 +0530
commit477bdd76a7405ff10a5cfabdec00ee9ae02f2698 (patch)
treebfa8cfb70e6852b9f535ccfd9b05712269a70dc1 /src/internal-server/app/Controllers/Http/StaticController.js
parentBumped up ferdi beta version to '5.6.3-beta.2' (diff)
parent5.6.3-nightly.44 [skip ci] (diff)
downloadferdium-app-477bdd76a7405ff10a5cfabdec00ee9ae02f2698.tar.gz
ferdium-app-477bdd76a7405ff10a5cfabdec00ee9ae02f2698.tar.zst
ferdium-app-477bdd76a7405ff10a5cfabdec00ee9ae02f2698.zip
Merge branch 'nightly' into release
Diffstat (limited to 'src/internal-server/app/Controllers/Http/StaticController.js')
-rw-r--r--src/internal-server/app/Controllers/Http/StaticController.js20
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
5import { DEFAULT_FEATURES_CONFIG } from '../../../../config';
6
7// TODO: This endpoint and associated code needs to be remoeved as cleanup
8class 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
20export default StaticController;