blob: c15fce530fd874afb110a04e08e8d58622d51a0f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/**
* Controller for routes with static responses
*/
class StaticController {
// Enable all features
features({ response }) {
return response.send({
isServiceProxyEnabled: true,
isWorkspaceEnabled: true,
isAnnouncementsEnabled: true,
isSettingsWSEnabled: false,
isMagicBarEnabled: true,
isTodosEnabled: true,
});
}
// Show announcements
announcement({ response }) {
return response.send({});
}
}
module.exports = StaticController;
|