Skip to content

Commit

Permalink
use server cache information to check for update
Browse files Browse the repository at this point in the history
  • Loading branch information
yamatt committed Nov 17, 2023
1 parent d3892d5 commit 8b9e3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/updater.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default class Updater {
}

get_release(url, callback) {
return fetch(url)
return fetch(url, {cache: "no-cache"})
.then(function(response) {
if (!response.ok) {
throw new Error("HTTP error, status = " + response.status);
Expand Down

0 comments on commit 8b9e3bf

Please sign in to comment.