algoliasearch-client-javascript icon indicating copy to clipboard operation
algoliasearch-client-javascript copied to clipboard

Host vs Url

Open fulmicoton opened this issue 13 years ago • 2 comments

The NodeJS version takes a list of hostname, while the JS client takes a list of URI. The confirmation email returns a host. Maybe that would be nice to choose either way or detect that http:// is missing and add it in JS.

fulmicoton avatar May 29 '13 21:05 fulmicoton

Yes you are right. All clients use https whereas the JS client can use http for performance in browsers (only for search method) or https. I will change that with a method parameter = http or https.

speedblue avatar Jun 05 '13 15:06 speedblue

This is now fixed

speedblue avatar Jun 05 '13 15:06 speedblue