Properly set base URL for searching against pub API.