aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-31 16:42:40 +0100
committerChocobozzz <me@florianbigard.com>2018-01-31 16:42:40 +0100
commit66b16cafb380012d3eca14e524d86f2450e04069 (patch)
tree02a6d2327e2499dbe921c22a03b8a9d741773dd6 /server/controllers
parent81ebea48bfba2d81e62dd7a0f01a0cadf41d2607 (diff)
downloadPeerTube-66b16cafb380012d3eca14e524d86f2450e04069.tar.gz
PeerTube-66b16cafb380012d3eca14e524d86f2450e04069.tar.zst
PeerTube-66b16cafb380012d3eca14e524d86f2450e04069.zip
Add new name/terms/description config options
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/api/config.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts
index bc804d9ba..e4cb02820 100644
--- a/server/controllers/api/config.ts
+++ b/server/controllers/api/config.ts
@@ -105,6 +105,11 @@ export {
105 105
106function customConfig (): CustomConfig { 106function customConfig (): CustomConfig {
107 return { 107 return {
108 instance: {
109 name: CONFIG.INSTANCE.NAME,
110 description: CONFIG.INSTANCE.DESCRIPTION,
111 terms: CONFIG.INSTANCE.TERMS
112 },
108 cache: { 113 cache: {
109 previews: { 114 previews: {
110 size: CONFIG.CACHE.PREVIEWS.SIZE 115 size: CONFIG.CACHE.PREVIEWS.SIZE