// 附件 import express from "express"; const router = express.Router(); router.use(function timeLog(req, res, next) { console.log("Time: ", Date.now()); next(); }); // define the about route router.get("/about", function (req, res) { res.send("About files"); }); export default router;