Router() // Get all posts router.get("/posts", async (req, res) => { const posts = await Post.find() res.send(posts) }) module.exports = ...
確定! 回上一頁