Skip to content

Commit

Permalink
no caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschonti authored and Sámuel Fekete committed Feb 26, 2024
1 parent 17375a0 commit ed1dc34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/get-index-data.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { IndexPageData } from './models';

export async function getIndexData(): Promise<IndexPageData | undefined> {
const res = await fetch(`${process.env.BACKEND_URL}/conference/index`, { next: { revalidate: 30 * 60 } });
const res = await fetch(`${process.env.BACKEND_URL}/conference/index`, { cache: 'no-store' });
if (!res.ok) {
console.error(res);
return;
Expand Down

0 comments on commit ed1dc34

Please sign in to comment.