diff --git a/src/components/ContentWrap.jsx b/src/components/ContentWrap.jsx
index fe4fcf0..71793dc 100644
--- a/src/components/ContentWrap.jsx
+++ b/src/components/ContentWrap.jsx
@@ -341,7 +341,7 @@ export default class ContentWrap extends Component {
// Replace correct css file in LINK tags's href
if (prefs.editorTheme) {
- window.editorThemeLinkTag.href = `/lib/codemirror/theme/${prefs.editorTheme}.css`;
+ window.editorThemeLinkTag.href = `./lib/codemirror/theme/${prefs.editorTheme}.css`;
}
window.fontStyleTag.textContent =
diff --git a/src/components/ContentWrapFiles.jsx b/src/components/ContentWrapFiles.jsx
index 1f76771..193e83d 100644
--- a/src/components/ContentWrapFiles.jsx
+++ b/src/components/ContentWrapFiles.jsx
@@ -355,7 +355,7 @@ export default class ContentWrapFiles extends Component {
// Replace correct css file in LINK tags's href
if (prefs.editorTheme) {
- window.editorThemeLinkTag.href = `lib/codemirror/theme/${prefs.editorTheme}.css`;
+ window.editorThemeLinkTag.href = `./lib/codemirror/theme/${prefs.editorTheme}.css`;
}
window.fontStyleTag.textContent =
diff --git a/src/components/SavedItemPane.jsx b/src/components/SavedItemPane.jsx
index ce1968f..16a5126 100644
--- a/src/components/SavedItemPane.jsx
+++ b/src/components/SavedItemPane.jsx
@@ -238,7 +238,7 @@ export default function SavedItemPane({
) : null}
diff --git a/src/index.ejs b/src/index.ejs
index 7b55666..1cc5ea5 100644
--- a/src/index.ejs
+++ b/src/index.ejs
@@ -37,7 +37,7 @@