mirror of
https://gitlab.com/nekoya/web.git
synced 2024-11-14 18:36:20 +01:00
29 lines
No EOL
548 B
JavaScript
29 lines
No EOL
548 B
JavaScript
const express = require('express')
|
|
|
|
const router = express.Router()
|
|
|
|
router.get('/', (_req, res) => {
|
|
res.render('pages/product')
|
|
})
|
|
|
|
router.get(('/successadd'), (_req, res) => {
|
|
res.render('pages/success-add')
|
|
})
|
|
|
|
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/notif-pay')
|
|
})
|
|
|
|
router.get('/payment', (_req, res) => {
|
|
res.render('pages/payment')
|
|
})
|
|
|
|
module.exports = router; |