chore(website): cleanup ts-errors

This commit is contained in:
iCrawl
2023-04-14 20:03:40 +02:00
parent 2c25639a85
commit 615752e32b
14 changed files with 17 additions and 107 deletions

View File

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