We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 995979a commit a937ac5Copy full SHA for a937ac5
src/services/algoliaSearchService.ts
@@ -124,19 +124,7 @@ export const useAlgoliaSearchService = (
124
maxCacheSize = DEFAULT_MAX_CACHE_SIZE,
125
minCharsForSuggestions = DEFAULT_MIN_CHARS_FOR_SUGGESTIONS
126
} = options
127
- const searchClient = algoliasearch(__ALGOLIA_APP_ID__, __ALGOLIA_API_KEY__, {
128
- hosts: [
129
- {
130
- url: 'search.comfy.org/api/search',
131
- accept: 'read',
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
- })
+ const searchClient = algoliasearch(__ALGOLIA_APP_ID__, __ALGOLIA_API_KEY__)
140
const searchPacksCache = new QuickLRU<string, SearchPacksResult>({
141
maxSize: maxCacheSize
142
})
0 commit comments