From 8abed15e62e1f2251e5c27cf18c605c66a15e87f Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sat, 10 Oct 2020 01:07:25 +0800 Subject: [PATCH] init --- routes/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routes/index.js b/routes/index.js index 6193b63..0756b72 100644 --- a/routes/index.js +++ b/routes/index.js @@ -6,7 +6,8 @@ var router = express.Router(); router.post('/web', function(req, res, next) { console.info(req.body) console.info(req.body.repository.ssh_url) - res.json({'name':'push success'}) + console.info(req.body.repository.updated_at) + res.json({repository:req.body.repository}) }); module.exports = router; \ No newline at end of file