diff options
author | Chocobozzz <me@florianbigard.com> | 2019-09-05 09:43:35 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-09-05 10:17:02 +0200 |
commit | be04c6fdab5d91a7a57fa3ff36cde22a549c29da (patch) | |
tree | b273cfb4cf3d0b73b12a1b9bb25884851255fc7e /server/initializers | |
parent | 592c735c19b25e9b38f82d90d15a81307902ed62 (diff) | |
download | PeerTube-be04c6fdab5d91a7a57fa3ff36cde22a549c29da.tar.gz PeerTube-be04c6fdab5d91a7a57fa3ff36cde22a549c29da.tar.zst PeerTube-be04c6fdab5d91a7a57fa3ff36cde22a549c29da.zip |
Add hardware information in instance config
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/config.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts index 8df411ca5..164d714d6 100644 --- a/server/initializers/config.ts +++ b/server/initializers/config.ts | |||
@@ -217,6 +217,7 @@ const CONFIG = { | |||
217 | get ADMINISTRATOR () { return config.get<string>('instance.administrator') }, | 217 | get ADMINISTRATOR () { return config.get<string>('instance.administrator') }, |
218 | get MAINTENANCE_LIFETIME () { return config.get<string>('instance.maintenance_lifetime') }, | 218 | get MAINTENANCE_LIFETIME () { return config.get<string>('instance.maintenance_lifetime') }, |
219 | get BUSINESS_MODEL () { return config.get<string>('instance.business_model') }, | 219 | get BUSINESS_MODEL () { return config.get<string>('instance.business_model') }, |
220 | get HARDWARE_INFORMATION () { return config.get<string>('instance.hardware_information') }, | ||
220 | 221 | ||
221 | get LANGUAGES () { return config.get<string[]>('instance.languages') || [] }, | 222 | get LANGUAGES () { return config.get<string[]>('instance.languages') || [] }, |
222 | get CATEGORIES () { return config.get<number[]>('instance.categories') || [] }, | 223 | get CATEGORIES () { return config.get<number[]>('instance.categories') || [] }, |