Unable to display posted by 'username' in my express blog?

前端 未结 0 1882
小鲜肉
小鲜肉 2020-12-28 16:53

controller/home.js

const BlogPost = require(\'../models/BlogPost.js\')

module.exports = async (req, res) =>{
    const blogposts = await BlogPost.find({})         


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