Your IP : 216.73.216.189


Current Path : /var/www/fidelitychain/wwwOLD/library/
Upload File :
Current File : /var/www/fidelitychain/wwwOLD/library/checkAuth.js

function checkAuth(req, res, next) {
    const token = req.headers.authorization;
//    if (token !== process.env.SYSTEM_BEARERTOKEN) {
//        return res.status(401).json({ message: 'Unauthorized access' });
//    }
    next();
}

module.exports = {
    checkAuth
};