From b3040796f167cf36bcd03562fca7cd994037cc4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Peixoto?= Date: Thu, 4 Mar 2021 20:00:13 +0000 Subject: [PATCH] fix: update images inside markdown files to work with IPFS --- src/.vuepress/theme/components/base/LazyImage.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/.vuepress/theme/components/base/LazyImage.vue b/src/.vuepress/theme/components/base/LazyImage.vue index 602be186..d4749a8e 100644 --- a/src/.vuepress/theme/components/base/LazyImage.vue +++ b/src/.vuepress/theme/components/base/LazyImage.vue @@ -5,8 +5,8 @@ :class="imgClass" :sizes="sizes" :srcset="srcsetString" - :src="requireAsset(src, ctx)" - :src-placeholder="requireAsset(srcPlaceholder, ctx)" + :src="withBase(src, ctx)" + :src-placeholder="withBase(srcPlaceholder, ctx)" loading="lazy" />

{{ caption }}

@@ -14,11 +14,11 @@