|
|
@@ -30,7 +30,6 @@ class QuestionnaireService {
|
|
|
|
|
|
const currentUsersCount = await User.countDocuments();
|
|
|
const currentActiveUsersCount = await User.countActiveUsers();
|
|
|
- const attachmentType = this.crowi.configManager.getConfig('crowi', 'app:fileUploadType');
|
|
|
|
|
|
return {
|
|
|
version: this.crowi.version,
|
|
|
@@ -42,13 +41,13 @@ class QuestionnaireService {
|
|
|
},
|
|
|
appSiteUrl, // TODO: set only if allowed (see: https://dev.growi.org/6385911e1632aa30f4dae6a4#mdcont-%E5%8C%BF%E5%90%8D%E5%8C%96%E3%81%8C%E5%BF%85%E8%A6%81%E3%81%AA%E3%83%97%E3%83%AD%E3%83%91%E3%83%86%E3%82%A3)
|
|
|
appSiteUrlHashed,
|
|
|
- type: 'cloud', // TODO: set actual value
|
|
|
+ type: this.crowi.configManager.getConfig('crowi', 'app:serviceType'),
|
|
|
currentUsersCount,
|
|
|
currentActiveUsersCount,
|
|
|
wikiType: 'open', // TODO: set actual value
|
|
|
- attachmentType,
|
|
|
+ attachmentType: this.crowi.configManager.getConfig('crowi', 'app:fileUploadType'),
|
|
|
activeExternalAccountTypes: undefined, // TODO: set actual value
|
|
|
- deploymentType: undefined, // TODO: set actual value
|
|
|
+ deploymentType: this.crowi.configManager.getConfig('crowi', 'app:deploymentType'),
|
|
|
};
|
|
|
}
|
|
|
|