update test webhook

This commit is contained in:
joseph le 2023-10-02 16:29:04 +07:00
parent 23a08b0a5f
commit a035b94e7b
2 changed files with 3 additions and 1 deletions

View File

@ -32,6 +32,7 @@ app.get("/api/products", (req, res) => {
];
res.status(200).send(data);
});
const PORT = 8000;
app.listen(PORT, () => {

View File

@ -17,12 +17,13 @@ const App = () => {
useEffect(() => {
getProducts();
}, []);
return (
<div className="App">
<h1>Demo Git Webhook</h1>
{allProducts.map((pro) => (
<div>
<h3 style={{ backgroundColor: "yellow" }}>
<h3 style={{ backgroundColor: "red" }}>
SN: {pro.SN}
</h3>
<p>PID: {pro.PID}</p>