next) => {
if (
req.path === '/api/login' ||
req.path === '/api' ||
) {
return next()
}
You mean to disallow other endpoints?
I've never seen app.all?
Обсуждают сегодня