From e5b53585aac1dc6af4e0a5a92746df66fe47a33a Mon Sep 17 00:00:00 2001 From: Peaceultime Date: Fri, 18 Apr 2025 20:10:21 +0200 Subject: [PATCH] Fix pull job and link rewrite --- components/prose/ProseA.vue | 6 ++--- server/tasks/pull.ts | 46 +++++++++++++++++++------------------ shared/general.util.ts | 2 +- 3 files changed, 28 insertions(+), 26 deletions(-) diff --git a/components/prose/ProseA.vue b/components/prose/ProseA.vue index a4e3cf0..0c005c2 100644 --- a/components/prose/ProseA.vue +++ b/components/prose/ProseA.vue @@ -2,8 +2,8 @@ @@ -26,7 +26,7 @@ const { href } = defineProps<{ const { hash, pathname } = parseURL(href); const { content } = useContent(); -const overview = computed(() => content.value.find(e => e.path === pathname)); +const overview = computed(() => content.value.find(e => e.path === decodeURIComponent(pathname)));