set cross origin to locality