]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/extra-utils/server/config.ts
First implem global search
[github/Chocobozzz/PeerTube.git] / shared / extra-utils / server / config.ts
index 98cd435f692481838f3b6378349e078176547d7c..eb06a151606fcfd048e9384abae0b9629a2c5373 100644 (file)
@@ -165,6 +165,18 @@ function updateCustomSubConfig (url: string, token: string, newConfig: DeepParti
       level: 'warning',
       message: 'hello',
       dismissable: true
+    },
+    search: {
+      remoteUri: {
+        users: true,
+        anonymous: true
+      },
+      searchIndex: {
+        enabled: true,
+        url: 'https://search.joinpeertube.org',
+        disableLocalSearch: true,
+        isDefaultSearch: true
+      }
     }
   }