Skip to content

Commit 85c0f22

Browse files
committed
js/search: always make search requests over https
Signed-off-by: Ruby Iris Juric <[email protected]>
1 parent fa1d647 commit 85c0f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/assets/js/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function Search(config) {
5454
return;
5555
}
5656

57-
this.client = new AlgoliaSearch(config.appId, config.apiKey);
57+
this.client = new AlgoliaSearch(config.appId, config.apiKey, { method: 'https' });
5858
this.prefix = config.prefix;
5959
this.searchNumber = 0;
6060
this.lastQuery = null;

0 commit comments

Comments
 (0)