Second attempt to fix fetch link

This commit is contained in:
Misode
2020-05-29 04:01:39 +02:00
parent 60e5fe0ce9
commit ba5f9638c0
2 changed files with 4 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ document.getElementById('header')?.append(modelSelector)
new TreeView(model, document!.getElementById('view')!)
new SourceView(model, document!.getElementById('source')!)
fetch('./build/locales/en.json')
fetch('build/locales/en.json')
.then(r => r.json())
.then(l => {
LOCALES.register('en', l)