Skip to content

Commit

Permalink
refactor: 修改相册的图片路径为website服务器的路径
Browse files Browse the repository at this point in the history
  • Loading branch information
shatian114 committed Sep 22, 2024
1 parent c9783df commit 0f3732a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/gallery/GalleryIndex.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function closeBigImg() {
:key="photo.file">
<img
loading="lazy"
:src="`https://aosc.io/assets/gallery/thumbs/${photo.file}.jpg`"
:src="`/gallery/thumbs/${photo.file}.jpg`"
:alt="photo.desc"
class="cursor-pointer w-[100%] max-w-[100%] object-cover aspect-video"
@click="clickImg(gallery, index)" />
Expand All @@ -73,7 +73,7 @@ function closeBigImg() {
class="flex justify-center w-[100%] h-[100%]">
<img
class="w-[100%] h-[auto] object-contain"
:src="`https://aosc.io/assets/gallery/${photo.file}`"
:src="`/gallery/${photo.file}`"
:alt="photo.desc" />
</div>
</el-carousel-item>
Expand Down

0 comments on commit 0f3732a

Please sign in to comment.