Skip to content

Commit

Permalink
Adding revalidate behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
exatombe committed Dec 30, 2023
1 parent 6446ee9 commit 2231e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/commands/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const metadata: Metadata = {
description: "Liste des commandes du bot Discord Ketsuna",
},
};

export const revalidate = 3600 // revalidate at most every hour
async function getData() {
// get Current Application ID
let userRes = await fetch("https://discord.com/api/v10/users/@me", {
Expand Down

0 comments on commit 2231e75

Please sign in to comment.