aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorHsieh Chin Fan <pham@topo.tw>2024-10-08 12:55:55 +0800
committerHsieh Chin Fan <pham@topo.tw>2024-10-08 12:55:56 +0800
commit45df32a5422a3d41adc24efae2af076f110e9591 (patch)
tree87786a900732189d190a3b98337870c985cc3c6d /src
parentdbf84550137d7a76ab829c5cbd5b6e0efb300842 (diff)
fix: path of resources for gh-pages
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 6279f62..499d42b 100644
--- a/src/editor.mjs
+++ b/src/editor.mjs
@@ -539,7 +539,7 @@ const rendererOptions = {}
539// }}} 539// }}}
540// Aliases for map options {{{ 540// Aliases for map options {{{
541const aliasesForMapOptions = {} 541const aliasesForMapOptions = {}
542const defaultApply = '/assets/default.yml' 542const defaultApply = './assets/default.yml'
543fetch(defaultApply) 543fetch(defaultApply)
544 .then(res => res.text()) 544 .then(res => res.text())
545 .then(rawText => { 545 .then(rawText => {