API Url Code Assistance for Multi-Domain Search Module

I need to implement a multi-domain search module for a client. As a result, I cloned the Hubspot search-input and search -results modules so that I could update the api url. However, I am not able to get search results with the changes. Can someone review my changes and let me know what I am doing wrong?

Search-input:

/*const SEARCH_URL_BASE = '/_hcms/v3/site-search/search';*/
const SEARCH_URL_BASE = '/contentsearch/v2/search';

Search-result:

/*var SEARCH_URL = '/_hcms/search?';*/
var SEARCH_URL = '/contentsearch/v2/search?';

Thanks in advance for the assistance.

Terry McMillan

I was hoping this would be a quick response from someone letting me know what I am doing wrong. Any recommendations?

Thanks,

Terry