Merge pull request #2678 from limonspb/presets_cache_fix
Presets fix: remove cache for fetch10.8-maintenance
commit
460b7b51d3
|
@ -12,7 +12,7 @@ class PresetsRepoIndexed {
|
|||
}
|
||||
|
||||
loadIndex() {
|
||||
return fetch(this._urlRaw + "index.json")
|
||||
return fetch(this._urlRaw + "index.json", {cache: "no-cache"})
|
||||
.then(res => res.json())
|
||||
.then(out => this._index = out);
|
||||
}
|
||||
|
@ -205,7 +205,7 @@ class PresetsRepoIndexed {
|
|||
|
||||
_loadPresetText(fullUrl) {
|
||||
return new Promise((resolve, reject) => {
|
||||
fetch(fullUrl)
|
||||
fetch(fullUrl, {cache: "no-cache"})
|
||||
.then(res => res.text())
|
||||
.then(text => resolve(text))
|
||||
.catch(err => {
|
||||
|
|
Loading…
Reference in New Issue