When adding static folder app.use(express.static(__dirname + '/static')); I am getting error Error: Forbiddenat SendStream.error
相关问题
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fs
- Axios OPTIONS instead of POST Request. Express Res
- google-drive can't get push notifications
- How to reimport module with ES6 import
- Why is `node.js` dying when called from inside pyt
相关文章
- node连接远程oracle报错
- How can make folder with Firebase Cloud Functions
- @angular-cli install fails with deprecated request
- node.js modify file data stream?
- How to resolve hostname to an ip address in node j
- Private static variables in php class
- Transactionally writing files in Node.js
- Log to node console or debug during webpack build
Known issue https://github.com/visionmedia/express/issues/1229.
Quick fix is to use app.use(express.static( __dirname + '\\static'));