What does require() return which is used in app.use()?

前端 未结 0 1989
星月不相逢
星月不相逢 2021-01-19 19:39

In ./app_api/routes/index.js

var router = express.Router()
var ctrlLocations = require(\'../controllers/locations\')
router.post( \'/\', ctrl         


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