Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
_buildUrl(path) {
return buildUrl(this[HOST], ...this[NAMESPACES], path);
}
ajax(url, ...args) {
const { host, apiNamespace } = this.options;
return ajax(buildUrl(host, apiNamespace, url), ...args);
}