Skip to content

Commit

Permalink
fix: change get use info ajax request cache value to false
Browse files Browse the repository at this point in the history
  • Loading branch information
fzlins committed Dec 31, 2023
1 parent b6dfcda commit e9446fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/background/pageParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ export class PageParser {
dataType: "text",
headers: this.options.headers,
data: this.requestData,
timeout: this.timeout,
cache: false
timeout: this.timeout
})
.done(result => {
let content: any;
Expand Down
3 changes: 2 additions & 1 deletion src/background/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ export class User {
dataType: "text",
data: requestData,
headers: rule.headers,
timeout: this.service.options.connectClientTimeout || 30000
timeout: this.service.options.connectClientTimeout || 30000,
cache: false
})
.done(result => {
this.removeQueue(host, url);
Expand Down

0 comments on commit e9446fa

Please sign in to comment.