On Nov 12, 2012, at 16:32, Nathan Rajlich <[email protected]> wrote:

> Are you implementing the static file serving yourself?

The only route defined in app.js is:

app.get('/', function (req, res) {
  res.sendfile(__dirname + '/index.html');
});

Therefore "/" is the only route that will be served. If you also want to serve 
"/test.mp4", then you will need to define a route for that, or hook up some 
static middleware as Nate said.


-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to