mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Fix tests
This commit is contained in:
parent
6a1e67b30a
commit
3d446a26ad
11 changed files with 21 additions and 11 deletions
|
@ -11,7 +11,14 @@ var videosController = require('./videos')
|
|||
router.use('/pods', podsController)
|
||||
router.use('/remotevideos', remoteVideosController)
|
||||
router.use('/videos', videosController)
|
||||
router.use('/*', badRequest)
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
module.exports = router
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
function badRequest (req, res, next) {
|
||||
res.sendStatus(400)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue