update api test

This commit is contained in:
joewaa 2017-06-11 07:20:11 +08:00 committed by GitHub
parent 36cc934312
commit 079fd40bbf

View file

@ -1,6 +1,7 @@
'use strict'; 'use strict';
module.exports = function(app) { module.exports = function(app) {
var tasks = require('./tasks'); app.route('/tests').get(function(req,res){
app.route('/tasks',tasks); res.send('Hi tests');
});
}; };