Skip to content

Commit f90bb67

Browse files
committed
feat(JS): remove route handler for the /server.js route
1 parent ce3706b commit f90bb67

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

server.js

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,14 @@ app.get("/openai", async (req, res) => {
104104
}
105105
});
106106

107+
// const dishCountry = req.body.recipe_country_of_origin;
108+
// const isUserLactoseIntolerant = req.body.is_lactose_intolerant;
107109

108110

109-
app.post("/server.js", (req, res) => {
110-
const dishCountry = req.body.recipe_country_of_origin;
111-
const isUserLactoseIntolerant = req.body.is_lactose_intolerant;
112-
113-
114-
res.json({
115-
message: `Variables ${dishCountry} and ${isUserLactoseIntolerant} received successfully`,
116-
});
117-
});
111+
// res.json({
112+
// message: `Variables ${dishCountry} and ${isUserLactoseIntolerant} received successfully`,
113+
// });
114+
// });
118115

119116

120117

0 commit comments

Comments
 (0)