mirror of
https://github.com/maciejpedzich/cats-album.git
synced 2024-11-27 22:35:47 +01:00
Ensure imageUrl is generated properly
This commit is contained in:
parent
dda92399a7
commit
16783d9815
@ -18,7 +18,7 @@ const {
|
||||
} = Astro.props;
|
||||
|
||||
const title = `${titleProp ? `${titleProp} - ` : ''}Cats Of Tech`;
|
||||
const imageUrl = image ? new URL(image, Astro.site) : null;
|
||||
const imageUrl = image ? new URL(image, Astro.url) : null;
|
||||
---
|
||||
|
||||
<html lang="en">
|
||||
|
Loading…
Reference in New Issue
Block a user