]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/config.ts
Merge branch 'open-api-clients' into develop
[github/Chocobozzz/PeerTube.git] / server / controllers / api / config.ts
index 69940f3952f6c3eb1f47e5bb8f63b4682f23e759..a383a723f8e42581015dad775763672eb536887d 100644 (file)
@@ -73,6 +73,12 @@ async function getConfig (req: express.Request, res: express.Response) {
         css: CONFIG.INSTANCE.CUSTOMIZATIONS.CSS
       }
     },
+    search: {
+      remoteUri: {
+        users: CONFIG.SEARCH.REMOTE_URI.USERS,
+        anonymous: CONFIG.SEARCH.REMOTE_URI.ANONYMOUS
+      }
+    },
     plugin: {
       registered: getRegisteredPlugins()
     },