Full Toolkit for Next-Level Domain Analysis
Fix not all og images running on edge 🌎
Felix Wotschofsky70377901ed42
diff --git a/app/lookup/[domain]/certs/opengraph-image.tsx b/app/lookup/[domain]/certs/opengraph-image.tsxindex a106c7a..06b9d58 100644--- a/app/lookup/[domain]/certs/opengraph-image.tsx+++ b/app/lookup/[domain]/certs/opengraph-image.tsx@@ -1,3 +1,6 @@import handler from '../opengraph-image';+export const runtime = 'edge';+export const contentType = 'image/png';+export default handler;diff --git a/app/lookup/[domain]/map/opengraph-image.tsx b/app/lookup/[domain]/map/opengraph-image.tsxindex a106c7a..06b9d58 100644--- a/app/lookup/[domain]/map/opengraph-image.tsx+++ b/app/lookup/[domain]/map/opengraph-image.tsx@@ -1,3 +1,6 @@import handler from '../opengraph-image';+export const runtime = 'edge';+export const contentType = 'image/png';+export default handler;diff --git a/app/lookup/[domain]/subdomains/opengraph-image.tsx b/app/lookup/[domain]/subdomains/opengraph-image.tsxindex a106c7a..06b9d58 100644--- a/app/lookup/[domain]/subdomains/opengraph-image.tsx+++ b/app/lookup/[domain]/subdomains/opengraph-image.tsx@@ -1,3 +1,6 @@import handler from '../opengraph-image';+export const runtime = 'edge';+export const contentType = 'image/png';+export default handler;diff --git a/app/lookup/[domain]/whois/opengraph-image.tsx b/app/lookup/[domain]/whois/opengraph-image.tsxindex a106c7a..06b9d58 100644--- a/app/lookup/[domain]/whois/opengraph-image.tsx+++ b/app/lookup/[domain]/whois/opengraph-image.tsx@@ -1,3 +1,6 @@import handler from '../opengraph-image';+export const runtime = 'edge';+export const contentType = 'image/png';+export default handler;