LISTS_PUBLIC
This commit is contained in:
parent
12558d3384
commit
fc9fbc6bdf
5 changed files with 37 additions and 22 deletions
|
@ -1,4 +1,4 @@
|
|||
const verifyAuth = require('../middlewares/verifyAuth')
|
||||
const publicRoute = require('../middlewares/publicRoute')
|
||||
const express = require('express')
|
||||
const path = require('path')
|
||||
|
||||
|
@ -16,7 +16,7 @@ module.exports = ({ db, config }) => {
|
|||
next()
|
||||
}
|
||||
},
|
||||
verifyAuth(),
|
||||
publicRoute(),
|
||||
(req, res) => {
|
||||
res.redirect('/wishlist')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue