Fixed the referrer to only be the host.