Fix old survey data shown in survey overview (#722)

This commit is contained in:
Matti Nannt
2023-08-21 12:20:38 +02:00
committed by GitHub
parent 4de85eb365
commit 683ca1acec

View File

@@ -1,6 +1,6 @@
export const RESPONSES_LIMIT_FREE = 100;
export const IS_FORMBRICKS_CLOUD = process.env.NEXT_PUBLIC_IS_FORMBRICKS_CLOUD === "1";
export const REVALIDATION_INTERVAL = process.env.NODE_ENV === "production" ? 30 : 0; // 30 seconds in production, 10 seconds in development
export const REVALIDATION_INTERVAL = 0; //TODO: find a good way to cache and revalidate data when it changes
// URLs
const VERCEL_URL = process.env.NEXT_PUBLIC_VERCEL_URL ? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}` : "";