We don't want the `localhost` case in here.  Also, change `==` to `===` in all cases.