build: fix linting

This commit is contained in:
iCrawl
2023-08-24 23:08:29 +02:00
parent 9811514deb
commit e3127a0735
29 changed files with 338 additions and 172 deletions

View File

@@ -3,10 +3,6 @@ import { join } from 'node:path';
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!,
});