fix(MarkdownFile): utilisation chemin absolu

This commit is contained in:
Kazhnuz 2023-02-03 21:40:10 +01:00
parent 3c067d199f
commit fd731c447d

View file

@ -11,7 +11,7 @@ const htmlContent = ref("");
onMounted(() => {
axios
.get(`${props.path}.md`)
.get(`/${props.path}.md`)
.then((response) => (htmlContent.value = marked.parse(response.data)))
.catch(
() =>