Using this simple static node.js server https://github.com/jesusabdullah/node-ecstatic
and created a stock http server
var http = require('http');
var ecstatic = require('ecstatic');
http.createServer(
ecstatic({ root: __dirname + '/index.html' })
).listen(8080);
console.log('Listening on :8080');
After starting my server, the index.html loads correctly but none of my external scripts or CSS load. Only 404's
The pathing is correct and all relative to the index.html. The 'js' folder is in the same directory as my index.html
<script src ="js/foo.js"></script
Can anyone suggest why this is happening?