1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-03-22 11:39:47 +01:00

fix paths

This commit is contained in:
Kushagra Gour 2024-02-29 18:07:31 +05:30
parent c2564153e0
commit f399d13221
4 changed files with 4 additions and 4 deletions

View File

@ -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 =

View File

@ -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 =

View File

@ -238,7 +238,7 @@ export default function SavedItemPane({
</h2>
<img
style="max-width: 80%; opacity:0.4"
src="/assets/empty.svg"
src="./assets/empty.svg"
/>
</div>
) : null}

View File

@ -37,7 +37,7 @@
<link
rel="stylesheet"
id="editorThemeLinkTag"
href="/lib/codemirror/theme/monokai.css"
href="./lib/codemirror/theme/monokai.css"
/>
<style id="fontStyleTemplate" type="template">