Skip to content

Full Toolkit for Next-Level Domain Analysis

Fix sponsors not automatically updating ✅

Felix Wotschofsky711502f9a940
diff --git a/app/(landing)/certs/page.tsx b/app/(landing)/certs/page.tsx
index 1199341..00c9837 100644
--- a/app/(landing)/certs/page.tsx
+++ b/app/(landing)/certs/page.tsx
@@ -5,6 +5,8 @@ import { SponsorsSection } from '../_components/sponsors-section';
import { AuthorSection } from './../_components/author-section';
import { TrustedBySection } from './../_components/trusted-by-section';
+export const revalidate = 86400; // 24 hours
+
export const metadata = {
openGraph: {
url: '/certs',
diff --git a/app/(landing)/map/page.tsx b/app/(landing)/map/page.tsx
index 8d4dc93..e871b85 100644
--- a/app/(landing)/map/page.tsx
+++ b/app/(landing)/map/page.tsx
@@ -5,6 +5,8 @@ import { SponsorsSection } from '../_components/sponsors-section';
import { AuthorSection } from './../_components/author-section';
import { TrustedBySection } from './../_components/trusted-by-section';
+export const revalidate = 86400; // 24 hours
+
export const metadata = {
openGraph: {
url: '/map',
diff --git a/app/(landing)/page.tsx b/app/(landing)/page.tsx
index 3b39352..52a015e 100644
--- a/app/(landing)/page.tsx
+++ b/app/(landing)/page.tsx
@@ -6,6 +6,8 @@ import { FeaturesSection } from './_components/features-section';
import { SponsorsSection } from './_components/sponsors-section';
import { TrustedBySection } from './_components/trusted-by-section';
+export const revalidate = 86400; // 24 hours
+
export const metadata = {
openGraph: {
url: '/',
diff --git a/app/(landing)/subdomains/page.tsx b/app/(landing)/subdomains/page.tsx
index 214c15b..dc8a17f 100644
--- a/app/(landing)/subdomains/page.tsx
+++ b/app/(landing)/subdomains/page.tsx
@@ -5,6 +5,8 @@ import { SponsorsSection } from '../_components/sponsors-section';
import { AuthorSection } from './../_components/author-section';
import { TrustedBySection } from './../_components/trusted-by-section';
+export const revalidate = 86400; // 24 hours
+
export const metadata = {
openGraph: {
url: '/subdomains',
diff --git a/app/(landing)/whois/page.tsx b/app/(landing)/whois/page.tsx
index a4f24b8..1ee546e 100644
--- a/app/(landing)/whois/page.tsx
+++ b/app/(landing)/whois/page.tsx
@@ -5,6 +5,8 @@ import { SponsorsSection } from '../_components/sponsors-section';
import { AuthorSection } from './../_components/author-section';
import { TrustedBySection } from './../_components/trusted-by-section';
+export const revalidate = 86400; // 24 hours
+
export const metadata = {
openGraph: {
url: '/whois',
diff --git a/lib/github.ts b/lib/github.ts
index 241b443..ca9eff5 100644
--- a/lib/github.ts
+++ b/lib/github.ts
@@ -62,9 +62,6 @@ export const getGitHubSponsors = async (username: string) => {
username,
},
}),
- next: {
- revalidate: 24 * 60 * 60,
- },
});
if (!response.ok) {