Skip to content

Commit

Permalink
fix: 搜索禁用缓存导致的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
ted423 committed Mar 5, 2022
1 parent dc2c56f commit 2dfd3ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/background/searcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ export class Searcher {
return new Promise<any>((resolve?: any, reject?: any) => {
this.searchRequestQueue[url] = $.ajax({
url: url,
cache: ['AvistaZ'].includes(site.schema),
cache: true,
dataType: "text",
contentType: "text/plain",
timeout: this.options.connectClientTimeout || 30000,
Expand Down

0 comments on commit 2dfd3ee

Please sign in to comment.