SiteUrl will now generate a default if one doesn't exist
This commit is contained in:
parent
982d6ac661
commit
1b729df778
@ -44,6 +44,7 @@ export const prepareStreamItem = (stream?: StreamDto) => {
|
|||||||
...stream,
|
...stream,
|
||||||
imageUrl,
|
imageUrl,
|
||||||
feedUrl: `${process.env.NEXT_PUBLIC_API_BASE_URL}/api/${stream.id}/feed`,
|
feedUrl: `${process.env.NEXT_PUBLIC_API_BASE_URL}/api/${stream.id}/feed`,
|
||||||
|
siteUrl: stream.siteUrl ?? `${process.env.NEXT_PUBLIC_API_BASE_URL}/${stream.id}/podcasts`
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user