aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-10 16:12:55 -0400
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-04-18 14:23:34 -0400
commite1ebfb02f724518432b2e1c5ec2a80ff03b38fd8 (patch)
tree78643aa793ddf752c5d4f61db34b3cb64c0f12ac /ext/bg/js/backend.js
parent823c026533dcd758c2a93038fa526978a5fa9cc3 (diff)
Disable cache on the backend and fix a bug with the cache key
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r--ext/bg/js/backend.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 79402e67..9d1fa6c1 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -53,7 +53,8 @@ class Backend {
this.defaultAnkiFieldTemplates = null;
this.audioUriBuilder = new AudioUriBuilder();
this.audioSystem = new AudioSystem({
- audioUriBuilder: this.audioUriBuilder
+ audioUriBuilder: this.audioUriBuilder,
+ useCache: false
});
this.ankiNoteBuilder = new AnkiNoteBuilder({
anki: this.anki,