How to use more than one middleware in expressjs?

后端 未结 0 1616
面向向阳花
面向向阳花 2021-01-29 13:42

I am trying to use 2 middlewares for my route, auth.js and authAdmin.js which are in different folder.

var middleware = [auth, authAdmin] router.get("/all_infor

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