aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-01-10 14:01:13 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-01-10 14:01:23 +0100
commit000eb0e40d74e914f6691305511c44e89cd8bf07 (patch)
tree8745c9f15041fc04b3f02dd087ecce330d3b9428 /server
parentab4d4db44a4f943056b856cbdc7b8d157cabf9af (diff)
downloadPeerTube-000eb0e40d74e914f6691305511c44e89cd8bf07.tar.gz
PeerTube-000eb0e40d74e914f6691305511c44e89cd8bf07.tar.zst
PeerTube-000eb0e40d74e914f6691305511c44e89cd8bf07.zip
Add informational message at login for visitors coming from upload button
resolves #1880
Diffstat (limited to 'server')
-rw-r--r--server/controllers/api/config.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/controllers/api/config.ts b/server/controllers/api/config.ts
index 6fad82408..06ee1ee85 100644
--- a/server/controllers/api/config.ts
+++ b/server/controllers/api/config.ts
@@ -155,6 +155,14 @@ async function getConfig (req: express.Request, res: express.Response) {
155 }, 155 },
156 tracker: { 156 tracker: {
157 enabled: CONFIG.TRACKER.ENABLED 157 enabled: CONFIG.TRACKER.ENABLED
158 },
159
160 followings: {
161 instance: {
162 autoFollowIndex: {
163 indexUrl: CONFIG.FOLLOWINGS.INSTANCE.AUTO_FOLLOW_INDEX.INDEX_URL
164 }
165 }
158 } 166 }
159 } 167 }
160 168