Skip to content

Commit

Permalink
Increase search limit
Browse files Browse the repository at this point in the history
  • Loading branch information
captbaritone committed Jan 25, 2025
1 parent 784caea commit 925760a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/skin-museum-client/src/algolia.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ var client = algoliasearch("HQ9I5Z6IM5", "6466695ec3f624a5fccf46ec49680e51");

var index = client.initIndex("Skins");

// Fallback search that uses SQLite. Useful for when we've exceeded the Algolia
// search quota.
export async function graphqlSearch(query, options = {}) {
const queryText = Utils.gql`
query SearchQuery($query: String!) {
search_classic_skins(query: $query) {
search_classic_skins(query: $query, first: 500) {
filename
md5
nsfw
Expand Down

0 comments on commit 925760a

Please sign in to comment.