Support custom base_url