mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Type functions
This commit is contained in:
parent
4d4e5cd4dc
commit
69818c9394
96 changed files with 990 additions and 544 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue