From 45df32a5422a3d41adc24efae2af076f110e9591 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 8 Oct 2024 12:55:55 +0800 Subject: fix: path of resources for gh-pages --- src/editor.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 = {} // }}} // Aliases for map options {{{ const aliasesForMapOptions = {} -const defaultApply = '/assets/default.yml' +const defaultApply = './assets/default.yml' fetch(defaultApply) .then(res => res.text()) .then(rawText => { -- cgit v1.2.3-70-g09d2