最終更新:2022-09-19 (月) 17:14:24 (584d)  

app.use
Top / app.use

app.use([path,] callback [, callback...])

Mounts the specified middleware function or functions at the specified path: the middleware function is executed when the base of the requested path matches path.

https://expressjs.com/ja/4x/api.html#app.use

関連