change index.js

This commit is contained in:
joseph le 2023-10-02 16:21:45 +07:00
parent 4dd37c0404
commit 23a08b0a5f
1 changed files with 0 additions and 2 deletions

View File

@ -5,7 +5,6 @@ app.use(cors());
app.get("/api/products", (req, res) => { app.get("/api/products", (req, res) => {
const data = [ const data = [
{ {
PID: "N9K-C9372PX", PID: "N9K-C9372PX",
VID: "V03", VID: "V03",
@ -33,7 +32,6 @@ app.get("/api/products", (req, res) => {
]; ];
res.status(200).send(data); res.status(200).send(data);
}); });
const PORT = 8000; const PORT = 8000;
app.listen(PORT, () => { app.listen(PORT, () => {