salix/services/mailer/Application/router.js

17 lines
468 B
JavaScript
Raw Normal View History

2017-05-30 06:06:14 +00:00
var express = require('express');
var router = new express.Router();
var settings = require('./settings.js');
// Página por defecto
router.get('/', function(request, response) {
2017-05-31 12:55:41 +00:00
response.send(settings.app().name + ' v' + settings.app().version);
2017-05-30 06:06:14 +00:00
});
// Rutas de los escritos.
router.use('/manuscript', require('./Route/manuscript.js'));
2017-05-30 06:06:14 +00:00
// Rutas de las notificaciones.
router.use('/notification', require('./Route/notification.js'));
2017-05-30 06:06:14 +00:00
module.exports = router;