File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,19 @@ export const useAlgoliaSearchService = (
124124 maxCacheSize = DEFAULT_MAX_CACHE_SIZE ,
125125 minCharsForSuggestions = DEFAULT_MIN_CHARS_FOR_SUGGESTIONS
126126 } = options
127- const searchClient = algoliasearch ( __ALGOLIA_APP_ID__ , __ALGOLIA_API_KEY__ )
127+ const searchClient = algoliasearch ( __ALGOLIA_APP_ID__ , __ALGOLIA_API_KEY__ , {
128+ hosts : [
129+ {
130+ url : 'search.comfy.org/api/search' ,
131+ accept : 'readWrite' ,
132+ protocol : 'https'
133+ }
134+ ] ,
135+ baseHeaders : {
136+ 'X-Algolia-Application-Id' : __ALGOLIA_APP_ID__ ,
137+ 'X-Algolia-API-Key' : __ALGOLIA_API_KEY__
138+ }
139+ } )
128140 const searchPacksCache = new QuickLRU < string , SearchPacksResult > ( {
129141 maxSize : maxCacheSize
130142 } )
You can’t perform that action at this time.
0 commit comments