fix: update image URL construction in getAnnunciMetaByCod handler
This commit is contained in:
parent
39074b58e4
commit
f07728454f
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ export const getAnnunciMetaByCod = async ({ cod }: { cod: string }) => {
|
|||
annuncio.url_immagini &&
|
||||
annuncio.url_immagini.length > 0 &&
|
||||
annuncio.url_immagini[0]
|
||||
? annuncio.url_immagini[0]
|
||||
? `${env.NEXT_PUBLIC_BASE_URL}/go-api/images/get/${annuncio.url_immagini[0]}`
|
||||
: annuncio.og_url || "";
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue