1 import * as express from 'express'
3 import { CONFIG } from '../../initializers'
5 const configRouter = express.Router()
7 configRouter.get('/', getConfig)
9 // Get the client credentials for the PeerTube front end
10 function getConfig (req, res, next) {
13 enabled: CONFIG.SIGNUP.ENABLED
18 // ---------------------------------------------------------------------------