Explorar o código

fix(news): исправлен путь к изображению по умолчанию для новостей

horanchikk hai 4 meses
pai
achega
3deab3fb50
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pages/news/[id]/index.vue

+ 1 - 1
pages/news/[id]/index.vue

@@ -9,7 +9,7 @@
     >
       <img
         v-if="news"
-        :src="news.preview.length > 0 ? news.preview : './notfound.png'"
+        :src="news.preview.length > 0 ? news.preview : '/nophoto.png'"
         class="w-full object-cover object-center absolute -z-10"
         :style="`height: ${imageHeight}px`"
       >