diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-10-07 17:34:46 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-10-08 10:28:47 +0800 |
commit | bd7791bbe69dda2bb6bfb7f5a1207fa7f14f550e (patch) | |
tree | cbf8bcb1f32df2542caa38dec2f8fa5030e7bdb2 /src | |
parent | 33ddb27756d369dbc4cb2225ce0b3c943b4569b5 (diff) |
chore: add default yml into assets/
Diffstat (limited to 'src')
-rw-r--r-- | src/editor.mjs | 2 |
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 {{{ |
516 | const aliasesForMapOptions = {} | 516 | const aliasesForMapOptions = {} |
517 | const defaultApply = './dist/default.yml' | 517 | const defaultApply = '/assets/default.yml' |
518 | fetch(defaultApply) | 518 | fetch(defaultApply) |
519 | .then(res => res.text()) | 519 | .then(res => res.text()) |
520 | .then(rawText => { | 520 | .then(rawText => { |