Fix 404 error #7

wants to merge 3 commits into


None yet

3 participants


Seems like the ordering of the connect middleware and the server.router route for 404 ('/*') was preventing both routes and the staticProvider from working together (i.e. only one worked at a time). This patch should fix that so that when someone follows the README instructions, it just starts up.


This fix did not work for me. All static files are 404'd with and without this change for me. It's a fresh pull/install with no changes to any file.

I'm using node v0.3.1-pre and express v1.0.0rc4 on Ubuntu 10.04.1.


I re-cloned and manually cloned all the dependencies and it works great now. Not sure of what the issue was. This is without the pull request by the above author included.

Edit: Take that back. had to change's src path to / instead of /js/ But, other than that it's working fine.



This should be fixed now in version 2

@robrighter robrighter closed this Dec 30, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment