📅  最后修改于: 2022-03-11 15:02:08.285000             🧑  作者: Mango
The express. static() function is a built-in middleware function in Express. It serves static files and is based on serve-static. Syntax: express.static(root, [options]) Parameters: The root parameter describes the root directory from which to serve static assets