Gitlab@Informatics

Skip to content
Snippets Groups Projects
Commit ba2c0116 authored by 65160381's avatar 65160381
Browse files

9.1

parent fc16e08f
Branches
No related tags found
No related merge requests found
Pipeline #614 passed with warnings
......@@ -242,11 +242,6 @@ app.get('/api/products', (req, res) => {
});
});
app.use(express.json()); // สำหรับการ parse ข้อมูลแบบ JSON
app.use(express.urlencoded({ extended: true })); // สำหรับการ parse ข้อมูลแบบ URL-encoded
app.post('/logout', (req, res) => {
req.session.destroy(err => {
if (err) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment