aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-10-07 17:34:46 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-10-08 10:28:47 +0800
commitbd7791bbe69dda2bb6bfb7f5a1207fa7f14f550e (patch)
treecbf8bcb1f32df2542caa38dec2f8fa5030e7bdb2 /src
parent33ddb27756d369dbc4cb2225ce0b3c943b4569b5 (diff)
chore: add default yml into assets/
Diffstat (limited to 'src')
-rw-r--r--src/editor.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editor.mjs b/src/editor.mjs
index 84144af..64d5cf6 100644
--- a/src/editor.mjs
+++ b/src/editor.mjs
@@ -514,7 +514,7 @@ const rendererOptions = {}
514// }}} 514// }}}
515// Aliases for map options {{{ 515// Aliases for map options {{{
516const aliasesForMapOptions = {} 516const aliasesForMapOptions = {}
517const defaultApply = './dist/default.yml' 517const defaultApply = '/assets/default.yml'
518fetch(defaultApply) 518fetch(defaultApply)
519 .then(res => res.text()) 519 .then(res => res.text())
520 .then(rawText => { 520 .then(rawText => {