fix(website): client-side rendering fallback

This commit is contained in:
iCrawl
2023-04-13 23:29:26 +02:00
parent 88cab1a0ec
commit e4c5f794b0
14 changed files with 41 additions and 41 deletions

View File

@@ -6,7 +6,7 @@ import { connect } from '@planetscale/database';
const sql = connect({
async fetch(input, init) {
return fetch(input, { ...init, next: { revalidate: 3_600 } });
return fetch(input, { ...init, cache: undefined, next: { revalidate: 3_600 } });
},
url: process.env.DATABASE_URL!,
});