firebird
firebird

Reputation: 3511

express javascript static files not being served

I have the following line in app.Configure:

app.use(express.static(__dirname + '/public'));

The directory structure is: /public/scripts/
however, only 1 script is served while the rest are not. This is what I have in jade template:

 script(src='/scripts/login.js', type='text/javascript')
    script(src='/scripts/menu.js', type='text/javascript')
    script(src='/scripts/json.js', type='text/javascript')

login is being served, menu and json are both 404.

How do i fix this?

Upvotes: 0

Views: 412

Answers (1)

firebird
firebird

Reputation: 3511

Fixed, caused by ntfs permissions issue

Upvotes: 1

Related Questions