fix(MarkdownFile): utilisation chemin absolu
This commit is contained in:
parent
3c067d199f
commit
fd731c447d
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ const htmlContent = ref("");
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
axios
|
axios
|
||||||
.get(`${props.path}.md`)
|
.get(`/${props.path}.md`)
|
||||||
.then((response) => (htmlContent.value = marked.parse(response.data)))
|
.then((response) => (htmlContent.value = marked.parse(response.data)))
|
||||||
.catch(
|
.catch(
|
||||||
() =>
|
() =>
|
||||||
|
|
Loading…
Reference in a new issue