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" />