diff --git a/index.html b/index.html
index 43fdf98c..8dcb33a1 100644
--- a/index.html
+++ b/index.html
@@ -24,7 +24,7 @@
-
+
@@ -33,7 +33,7 @@
-
+
diff --git a/src/hooks/useOpenGraph.ts b/src/hooks/useOpenGraph.ts
index 5699c25c..e9a2eb9e 100644
--- a/src/hooks/useOpenGraph.ts
+++ b/src/hooks/useOpenGraph.ts
@@ -26,11 +26,11 @@ export function useOpenGraph({
if (!enabled || !title) return;
// Determine the image to use
- let finalImageUrl = '/og-image.png';
+ let finalImageUrl = 'https://cdn.thrillwiki.com/images/4af6a0c6-4450-497d-772f-08da62274100/original';
if (imageId) {
const bannerUrls = getBannerUrls(imageId);
- finalImageUrl = bannerUrls.desktop || imageUrl || '/og-image.png';
+ finalImageUrl = bannerUrls.desktop || imageUrl || 'https://cdn.thrillwiki.com/images/4af6a0c6-4450-497d-772f-08da62274100/original';
} else if (imageUrl) {
finalImageUrl = imageUrl;
}
@@ -55,12 +55,12 @@ export function useOpenGraph({
return () => {
updateMetaTag('og:title', 'ThrillWiki - Theme Park & Roller Coaster Database');
updateMetaTag('og:description', 'Explore theme parks and roller coasters worldwide with ThrillWiki - the comprehensive database for enthusiasts');
- updateMetaTag('og:image', window.location.origin + '/og-image.png');
+ updateMetaTag('og:image', 'https://cdn.thrillwiki.com/images/4af6a0c6-4450-497d-772f-08da62274100/original');
updateMetaTag('og:type', 'website');
updateMetaTag('twitter:title', 'ThrillWiki - Theme Park & Roller Coaster Database', 'name');
updateMetaTag('twitter:description', 'Explore theme parks and roller coasters worldwide with ThrillWiki - the comprehensive database for enthusiasts', 'name');
- updateMetaTag('twitter:image', window.location.origin + '/og-image.png', 'name');
+ updateMetaTag('twitter:image', 'https://cdn.thrillwiki.com/images/4af6a0c6-4450-497d-772f-08da62274100/original', 'name');
};
}, [title, description, imageUrl, imageId, type, currentUrl, enabled]);
}