web/routes/product.js

29 lines
540 B
JavaScript
Raw Normal View History

2021-11-02 06:20:20 +01:00
const express = require('express')
const router = express.Router()
router.get('/', (req, res) => {
res.render('pages/product')
})
router.get(('/successadd'), (req, res) => {
res.render('pages/successadd')
})
router.get('/bag', (req, res) => {
res.render('pages/bag')
})
router.get('/checkout', (req, res) => {
res.render('pages/checkout')
})
router.get('/notifpay', (req, res) => {
res.render('pages/notifpay')
})
router.get('/payment', (req, res) => {
res.render('pages/payment')
})
module.exports = router;