shapeshed/connect-force-domain — Issue #1: Exclude localhost from being redirected
Author: goloroden
Created: 2011-10-23 09:05:58+00:00
State: open

Basically, connect-force-domain does what I would like to see it doing.
Anyway, there is one drawback:

When developing on localhost, you are being redirected as well.

So, could localhost be excluded from being redirected?
This should work, no matter which port is used locally (most often, it is not 80).