17 lines
351 B
JavaScript
17 lines
351 B
JavaScript
|
|
|
|
var express = require('express');
|
|
var router = express.Router();
|
|
|
|
|
|
var photosRouter = require('./photoRouter');
|
|
var movieRouter = require('./movieRouter');
|
|
var gameRouter = require('./gameRouter');
|
|
|
|
router.use('/photos', photosRouter);
|
|
router.use('/movies', movieRouter);
|
|
router.use('/games', gameRouter);
|
|
|
|
|
|
|
|
module.exports = router; |