mirror of https://github.com/Chocobozzz/PeerTube
18 lines
450 B
JavaScript
18 lines
450 B
JavaScript
|
'use strict'
|
||
|
|
||
|
var express = require('express')
|
||
|
|
||
|
var router = express.Router()
|
||
|
|
||
|
var podsController = require('./pods')
|
||
|
var remoteVideosController = require('./remoteVideos')
|
||
|
var videosController = require('./videos')
|
||
|
|
||
|
router.use('/pods', podsController)
|
||
|
router.use('/remotevideos', remoteVideosController)
|
||
|
router.use('/videos', videosController)
|
||
|
|
||
|
// ---------------------------------------------------------------------------
|
||
|
|
||
|
module.exports = router
|