From 0f5772746c80350ab3a4a35798638b257e2c3ed5 Mon Sep 17 00:00:00 2001 From: Peter Kalverla Date: Tue, 25 Jan 2022 09:16:28 +0100 Subject: [PATCH] Fix paths to images --- pages/_story.vue | 2 +- pages/index.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/_story.vue b/pages/_story.vue index c2f03ef..925d640 100644 --- a/pages/_story.vue +++ b/pages/_story.vue @@ -52,7 +52,7 @@ export default { }, methods: { getContent (path) { - return `/stories/_${this.params.story}/${path}` + return `stories/_${this.params.story}/${path}` }, toggleChapter (i) { this.currentChapter = i diff --git a/pages/index.vue b/pages/index.vue index 855ce86..5168b8e 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -23,7 +23,7 @@ :key="story.id" :title="story.title" :author="story.author" - :thumbnail="`/stories/_${story.slug}/${story.thumbnail}`" + :thumbnail="`stories/_${story.slug}/${story.thumbnail}`" :url="story.slug" />