add webhook gitea

This commit is contained in:
joseph le 2023-09-20 13:14:29 +07:00
parent 89049b1de8
commit 4114bb7a36
1 changed files with 0 additions and 2 deletions

View File

@ -208,8 +208,6 @@ router.post("/api/gitea-webhook", ( req, res ) => {
// if (request.headers['x-gitlab-event'] === 'push') { // if (request.headers['x-gitlab-event'] === 'push') {
// // Lấy dữ liệu sự kiện từ req.body // // Lấy dữ liệu sự kiện từ req.body
// const eventData = req.body; // const eventData = req.body;
// // Xử lý dữ liệu sự kiện ở đây
// console.log('Received push event from GitLab:'); // console.log('Received push event from GitLab:');
// console.log(JSON.stringify(eventData, null, 2)); // console.log(JSON.stringify(eventData, null, 2));
// } // }