Error: Forbiddenat SendStream.error

When adding static folder app.use(express.static(__dirname + '/static')); I am getting error Error: Forbiddenat SendStream.error

Answers


Known issue https://github.com/visionmedia/express/issues/1229.

Quick fix is to use app.use(express.static( __dirname + '\\static'));


Need Your Help

Firebase data not loading in list unless refreshed (angularJS, firebase & ionic)

javascript angularjs angularjs-directive firebase

My list of items are not loading properly. I get an empty screen with no errors and once I refresh, they all show up. I believe the firebase data is not being retrieved fast enough but I dont know ...

Fetching object realted objects in domain model

php oop dns doctrine-orm

How to take care of fetching related objects of one object?