fix: change the Open Graph URL of mod change log page after loading it with JavaScript

This commit is contained in:
Dorian Niemiec 2024-09-07 12:17:34 +02:00
parent bc4d2c2f7c
commit 4c962e3968
2 changed files with 2 additions and 1 deletions

View file

@ -96,7 +96,7 @@ const Page = ({ params }: { params: { slug: string } }) => {
<meta property="og:type" content="website" />
<meta
property="og:url"
content={`https://svrjs.org/changelogs/${slug}`}
content={`https://svrjs.org/changelog/${slug}`}
/>
<meta
property="og:image"

View file

@ -32,6 +32,7 @@ export const metadata: Metadata = {
creator: "@SVR_JS"
}
};
const Contribute = () => {
return (
<section