]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/api/config.ts
Update webpack stack
[github/Chocobozzz/PeerTube.git] / server / controllers / api / config.ts
index 57c9398ecaafbd57a326b9ee02887fa5ca160dc2..c639817976a7ca6cb1cb1db88a1da9e3e4420a0b 100644 (file)
@@ -7,7 +7,7 @@ const configRouter = express.Router()
 configRouter.get('/', getConfig)
 
 // Get the client credentials for the PeerTube front end
-function getConfig (req, res, next) {
+function getConfig (req: express.Request, res: express.Response, next: express.NextFunction) {
   res.json({
     signup: {
       enabled: CONFIG.SIGNUP.ENABLED