summaryrefslogtreecommitdiff
path: root/ext/bg/js/backend.js
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-02-12 19:56:24 -0500
committerGitHub <noreply@github.com>2021-02-12 19:56:24 -0500
commit2b4af57bd764ee07ed1d7db8e2985e34ba7ef8ea (patch)
tree06af52cf528773838c1144a323e74c93ddebdf45 /ext/bg/js/backend.js
parent37f916171812afe22f1b435d9e06b52af5d8292a (diff)
Move data folder (#1371)
* Move handlebars template files * Move schema files
Diffstat (limited to 'ext/bg/js/backend.js')
-rw-r--r--ext/bg/js/backend.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/backend.js b/ext/bg/js/backend.js
index 3dd1955f..3970fe2d 100644
--- a/ext/bg/js/backend.js
+++ b/ext/bg/js/backend.js
@@ -211,7 +211,7 @@ class Backend {
this._translator.prepare(deinflectionReasions);
await this._optionsUtil.prepare();
- this._defaultAnkiFieldTemplates = (await this._fetchAsset('/bg/data/default-anki-field-templates.handlebars')).trim();
+ this._defaultAnkiFieldTemplates = (await this._fetchAsset('/data/templates/default-anki-field-templates.handlebars')).trim();
this._options = await this._optionsUtil.load();
this._applyOptions('background');