Skip to content

Commit

Permalink
Fix paths to images
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter9192 committed Jan 25, 2022
1 parent f68c8bf commit 0f57727
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pages/_story.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
/>
</div>
Expand Down

0 comments on commit 0f57727

Please sign in to comment.