Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update get-content-api.ts

Steven Teyaa7d43e3502c
diff --git a/apps/web/lib/fetchers/get-content-api.ts b/apps/web/lib/fetchers/get-content-api.ts
index 17ea9470cf..f7dc4017f5 100644
--- a/apps/web/lib/fetchers/get-content-api.ts
+++ b/apps/web/lib/fetchers/get-content-api.ts
@@ -10,7 +10,7 @@ export const getContentAPI: () => Promise<{
try {
return await fetch("https://dub.co/api/content", {
next: {
- revalidate: 60 * 5, // cache for 5 minutes
+ revalidate: 60 * 60 * 24, // cache for 24 hours
},
}).then((res) => res.json());
} catch (e) {