You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
riskcloudrun/routes/index.js

13 lines
382 B

var express = require('express');
var router = express.Router();
//web钩子事件
//git@gogs.kirito.cool:panqihua/RiskCloudMock.git push事件
router.post('/web', function(req, res, next) {
console.info(req.body)
console.info(req.body.repository.ssh_url)
console.info(req.body.repository.updated_at)
res.json({repository:req.body.repository})
});
module.exports = router;