blob: ac6f89008c8cba6d69fee42164ef77422e1498df (
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
25
26
27
28
29
30
|
/**
* 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,
subscribeURL: 'https://ferdium.org',
hasInlineCheckout: true,
});
}
// Show announcements
announcement({
response,
}) {
return response.send({});
}
}
module.exports = StaticController;
|