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 | |
parent | dbf84550137d7a76ab829c5cbd5b6e0efb300842 (diff) |
fix: path of resources for gh-pages
-rw-r--r-- | index.html | 2 | ||||
-rw-r--r-- | src/editor.mjs | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ | |||
7 | 7 | ||
8 | <meta property="og:description" content="Add a default marker to the map."/> | 8 | <meta property="og:description" content="Add a default marker to the map."/> |
9 | <meta name="viewport" content="width=device-width, initial-scale=1"/> | 9 | <meta name="viewport" content="width=device-width, initial-scale=1"/> |
10 | <link rel="shortcut icon" href="favicon.ico" type="image/ico"/> | 10 | <link rel="shortcut icon" href="./favicon.ico" type="image/ico"/> |
11 | 11 | ||
12 | <!-- FIXME --> | 12 | <!-- FIXME --> |
13 | <link rel="stylesheet" type="text/css" href="./dist/css/style.css"/> | 13 | <link rel="stylesheet" type="text/css" href="./dist/css/style.css"/> |
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 => { |