diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-10-08 12:55:55 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-10-08 12:55:56 +0800 |
commit | 45df32a5422a3d41adc24efae2af076f110e9591 (patch) | |
tree | 87786a900732189d190a3b98337870c985cc3c6d /src | |
parent | dbf84550137d7a76ab829c5cbd5b6e0efb300842 (diff) |
fix: path of resources for gh-pages
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 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 {{{ |
541 | const aliasesForMapOptions = {} | 541 | const aliasesForMapOptions = {} |
542 | const defaultApply = '/assets/default.yml' | 542 | const defaultApply = './assets/default.yml' |
543 | fetch(defaultApply) | 543 | fetch(defaultApply) |
544 | .then(res => res.text()) | 544 | .then(res => res.text()) |
545 | .then(rawText => { | 545 | .then(rawText => { |