Another small fix for when not on localhost