diff options
Diffstat (limited to 'app/Controllers/Http/Api/Static/FeaturesController.ts')
-rw-r--r-- | app/Controllers/Http/Api/Static/FeaturesController.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/app/Controllers/Http/Api/Static/FeaturesController.ts b/app/Controllers/Http/Api/Static/FeaturesController.ts new file mode 100644 index 0000000..d471b11 --- /dev/null +++ b/app/Controllers/Http/Api/Static/FeaturesController.ts | |||
@@ -0,0 +1,14 @@ | |||
1 | import type { HttpContextContract } from '@ioc:Adonis/Core/HttpContext'; | ||
2 | |||
3 | export default class FeaturesController { | ||
4 | public async show({ response }: HttpContextContract) { | ||
5 | return response.send({ | ||
6 | isServiceProxyEnabled: true, | ||
7 | isWorkspaceEnabled: true, | ||
8 | isAnnouncementsEnabled: true, | ||
9 | isSettingsWSEnabled: false, | ||
10 | isMagicBarEnabled: true, | ||
11 | isTodosEnabled: true, | ||
12 | }); | ||
13 | } | ||
14 | } | ||