test shell script

This commit is contained in:
joseph le 2023-09-22 16:35:43 +07:00
parent 168e2bd4e0
commit 6772198ea3
2 changed files with 3 additions and 1 deletions

View File

@ -102,6 +102,7 @@ const ManageValues = () => {
alert("Value is empty!")
}
}}>Add</button>
</div>
<div>
<Link to={"/logs"}> <button style={{color:"white", backgroundColor:"blue", cursor:"pointer"}}>List of detected files</button></Link>

View File

@ -177,6 +177,7 @@ Route.post("/api/addValue", async ({ request, response }) => {
}
});
Route.post("/api/gitea-webhook", ({ request, response }) => {
console.log("New event ---> ", request.header("x-gitea-event"));