不知道什么原因,public文件夹里面没有了index.html。Nginx上会报 403 Forbidden nginx/1.18.0异常,本地 hexo server会报 Cannot GET /

执行npm audit fix,查看是否少了什么组件,通过npm install hexo-xxx-xxx 安装即可。(我的hexo缺少了hexo-generator-index组件,因此执行npm install hexo-generator-index即可)