在使用express框架的时候,我们会遇到设置静态文件目录,代码如下//将静态文锦啊目录设置为:项目根目录+/public app.use(express.static(__dirname +"/public&quo…
確定! 回上一頁