yeah, I just added location.protocol, which doesn't include the doubleslash