SINON - an issue mocking a middleware

后端 未结 0 531
感情败类
感情败类 2020-12-30 06:02

I have the following middleware in a Node.js REST API

const Authorized = (req, res, next) => {
if (!req.headers["authorization"]) {
    res.statu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题