From be04c6fdab5d91a7a57fa3ff36cde22a549c29da Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 5 Sep 2019 09:43:35 +0200 Subject: Add hardware information in instance config --- server/controllers/api/config.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/controllers') diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts index 909907ad6..39a124fc5 100644 --- a/server/controllers/api/config.ts +++ b/server/controllers/api/config.ts @@ -161,6 +161,8 @@ function getAbout (req: express.Request, res: express.Response) { terms: CONFIG.INSTANCE.TERMS, codeOfConduct: CONFIG.INSTANCE.CODE_OF_CONDUCT, + hardwareInformation: CONFIG.INSTANCE.HARDWARE_INFORMATION, + creationReason: CONFIG.INSTANCE.CREATION_REASON, moderationInformation: CONFIG.INSTANCE.MODERATION_INFORMATION, administrator: CONFIG.INSTANCE.ADMINISTRATOR, @@ -238,6 +240,7 @@ function customConfig (): CustomConfig { administrator: CONFIG.INSTANCE.ADMINISTRATOR, maintenanceLifetime: CONFIG.INSTANCE.MAINTENANCE_LIFETIME, businessModel: CONFIG.INSTANCE.BUSINESS_MODEL, + hardwareInformation: CONFIG.INSTANCE.HARDWARE_INFORMATION, languages: CONFIG.INSTANCE.LANGUAGES, categories: CONFIG.INSTANCE.CATEGORIES, -- cgit v1.2.3