mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
fix(website): client-side rendering fallback
This commit is contained in:
@@ -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!,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user