mirror of
https://github.com/jorgev259/soc_site-astro.git
synced 2025-06-29 07:57:41 +00:00
removing ?. from image urls
This commit is contained in:
parent
f334a00c26
commit
16f2e520e7
1 changed files with 3 additions and 3 deletions
|
|
@ -50,7 +50,7 @@ const { currentLocale } = Astro
|
|||
<div
|
||||
class={`w-full min-h-100vh bg-fixed bg-center bg-cover`}
|
||||
style={`
|
||||
background-image: url('https://cdn.sittingonclouds.net/album?./${album?.id}.png');
|
||||
background-image: url('https://cdn.sittingonclouds.net/album/${album?.id}.png');
|
||||
`}
|
||||
>
|
||||
<div class='bg-dark/75 w-full min-h-100vh'>
|
||||
|
|
@ -339,8 +339,8 @@ const { currentLocale } = Astro
|
|||
album?.relatedAlbumList.map(({ relatedAlbum }) => (
|
||||
<AlbumBox
|
||||
title={relatedAlbum?.title}
|
||||
href={`/album?./${relatedAlbum?.id}`}
|
||||
image={`/album?./${relatedAlbum?.id}.png`}
|
||||
href={`/album/${relatedAlbum?.id}`}
|
||||
image={`/album/${relatedAlbum?.id}.png`}
|
||||
/>
|
||||
))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue