]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/config.ts
Downsample to the closest divisor standard framerate
[github/Chocobozzz/PeerTube.git] / server / controllers / api / config.ts
index 06ee1ee857a739d032a29ca4ce377c4ac6f3e154..ae4e0024896292f6e8c33c1810e2abdb83ff4810 100644 (file)
@@ -50,7 +50,9 @@ let serverCommit: string
 async function getConfig (req: express.Request, res: express.Response) {
   const { allowed } = await Hooks.wrapPromiseFun(
     isSignupAllowed,
-    {},
+    {
+      ip: req.ip
+    },
     'filter:api.user.signup.allowed.result'
   )