senchalabs/connect — Issue #427: Redirecting to // - connect.static bug on Windows
Author: alessioalex
Created: 2011-11-28 15:55:45+00:00
State: open

When using connect.static on Windows (with Express), when visiting http://localhost it will show you:

Redirecting to //

even though you have the '/' route defined. I managed to find a workaround for this by using 'redirect: false' as an option, but this is a bug as far as I can tell (on Linux I never got that).

Note: I did not have anything except a txt file in the public folder. (so no index.html there)