test astro url
This commit is contained in:
@@ -16,6 +16,7 @@ export interface Props {
|
|||||||
// console.log(src);
|
// console.log(src);
|
||||||
const resolvedImageWithDomain = new URL("/opengraph.jpg", Astro.url).toString();
|
const resolvedImageWithDomain = new URL("/opengraph.jpg", Astro.url).toString();
|
||||||
const { title } = Astro.props;
|
const { title } = Astro.props;
|
||||||
|
console.log(resolvedImageWithDomain, Astro.url);
|
||||||
|
|
||||||
const makeTitle = title
|
const makeTitle = title
|
||||||
? title + " | " + "Astroship"
|
? title + " | " + "Astroship"
|
||||||
|
|||||||
Reference in New Issue
Block a user