Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make sure the 404 falls through properly on first boot.

  • Loading branch information...
commit cf26bf7afed8799cb6f50e42dd3443f65d787875 1 parent 2f78ded
Sean Grove authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  server.js
View
2  server.js
@@ -11,8 +11,8 @@ var server = express.createServer();
server.configure(function(){
server.set('views', __dirname + '/views');
server.use(connect.bodyDecoder());
- server.use(connect.staticProvider(__dirname + '/static'));
server.use(server.router);
+ server.use(connect.staticProvider(__dirname + '/static'));
});
//setup the errors

1 comment on commit cf26bf7

@davehamptonusa

Oops. That seems to grab all of the static files and serve them up as a 404!

Please sign in to comment.
Something went wrong with that request. Please try again.