mirror of
https://gitlab.com/nekoya/web.git
synced 2024-11-22 22:36:37 +01:00
29 lines
No EOL
540 B
JavaScript
29 lines
No EOL
540 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/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; |