update test webhook
This commit is contained in:
parent
23a08b0a5f
commit
a035b94e7b
|
|
@ -32,6 +32,7 @@ app.get("/api/products", (req, res) => {
|
|||
];
|
||||
res.status(200).send(data);
|
||||
});
|
||||
|
||||
const PORT = 8000;
|
||||
|
||||
app.listen(PORT, () => {
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue