]>
git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - server/controllers/api/config.js
3 const express
= require('express')
5 const constants
= require('../../initializers/constants')
7 const router
= express
.Router()
9 router
.get('/', getConfig
)
11 // Get the client credentials for the PeerTube front end
12 function getConfig (req
, res
, next
) {
15 enabled: constants
.CONFIG
.SIGNUP
.ENABLED
20 // ---------------------------------------------------------------------------
22 module
.exports
= router