aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-09-05 09:43:35 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-09-05 10:17:02 +0200
commitbe04c6fdab5d91a7a57fa3ff36cde22a549c29da (patch)
treeb273cfb4cf3d0b73b12a1b9bb25884851255fc7e /server/controllers
parent592c735c19b25e9b38f82d90d15a81307902ed62 (diff)
downloadPeerTube-be04c6fdab5d91a7a57fa3ff36cde22a549c29da.tar.gz
PeerTube-be04c6fdab5d91a7a57fa3ff36cde22a549c29da.tar.zst
PeerTube-be04c6fdab5d91a7a57fa3ff36cde22a549c29da.zip
Add hardware information in instance config
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/config.ts3
1 files changed, 3 insertions, 0 deletions
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) {
161 terms: CONFIG.INSTANCE.TERMS, 161 terms: CONFIG.INSTANCE.TERMS,
162 codeOfConduct: CONFIG.INSTANCE.CODE_OF_CONDUCT, 162 codeOfConduct: CONFIG.INSTANCE.CODE_OF_CONDUCT,
163 163
164 hardwareInformation: CONFIG.INSTANCE.HARDWARE_INFORMATION,
165
164 creationReason: CONFIG.INSTANCE.CREATION_REASON, 166 creationReason: CONFIG.INSTANCE.CREATION_REASON,
165 moderationInformation: CONFIG.INSTANCE.MODERATION_INFORMATION, 167 moderationInformation: CONFIG.INSTANCE.MODERATION_INFORMATION,
166 administrator: CONFIG.INSTANCE.ADMINISTRATOR, 168 administrator: CONFIG.INSTANCE.ADMINISTRATOR,
@@ -238,6 +240,7 @@ function customConfig (): CustomConfig {
238 administrator: CONFIG.INSTANCE.ADMINISTRATOR, 240 administrator: CONFIG.INSTANCE.ADMINISTRATOR,
239 maintenanceLifetime: CONFIG.INSTANCE.MAINTENANCE_LIFETIME, 241 maintenanceLifetime: CONFIG.INSTANCE.MAINTENANCE_LIFETIME,
240 businessModel: CONFIG.INSTANCE.BUSINESS_MODEL, 242 businessModel: CONFIG.INSTANCE.BUSINESS_MODEL,
243 hardwareInformation: CONFIG.INSTANCE.HARDWARE_INFORMATION,
241 244
242 languages: CONFIG.INSTANCE.LANGUAGES, 245 languages: CONFIG.INSTANCE.LANGUAGES,
243 categories: CONFIG.INSTANCE.CATEGORIES, 246 categories: CONFIG.INSTANCE.CATEGORIES,