mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-23 07:10:41 +00:00
Attempt to fix fetch link
This commit is contained in:
@@ -3,7 +3,7 @@ import { TreeView } from '../view/TreeView'
|
||||
import { SourceView } from '../view/SourceView'
|
||||
import { ConditionSchema } from '../minecraft/schemas/Condition'
|
||||
import { SandboxSchema } from './Sandbox'
|
||||
import { LOCALES, locale } from '../Registries'
|
||||
import { LOCALES } from '../Registries'
|
||||
|
||||
const predicateModel = new DataModel(ConditionSchema)
|
||||
const sandboxModel = new DataModel(SandboxSchema)
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user