Using module.exports= router but still getting Router.use() requires a middleware function but got a Object

后端 未结 0 1022
再見小時候
再見小時候 2020-12-14 17:59

I looked all over the internet and all I could find was: "Make sure you add module.exports = router" at the end of your router file.

My router file is as fo

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