Permalink
Browse files

respond with 404 when the static target is not a file

  • Loading branch information...
1 parent fa36ef1 commit a2b26527add855f92e465191d953ad35d173a00d @jankuca jankuca committed Aug 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/nerve.js
View
2 lib/nerve.js
@@ -105,7 +105,7 @@
var notfile_response = {
content: '<html><head><title>Error</title></head><body><h1>Not a file</h1></body></html>',
- status_code: 501
+ status_code: 404
};

0 comments on commit a2b2652

Please sign in to comment.