<meta property="og:url" content={Astro.url} />
Make sure you set your site
property in your Astro config, otherwise Astro will use https://localhost:4321
as the base URL.
astro.config.js
example:
import { defineConfig } from 'astro/config';
export default defineConfig({
site: "https://samfeldstein.xyz"
});