fix: nextjs bugs with data mutations

This commit is contained in:
swve 2023-06-19 21:12:31 +02:00
parent e0c4cffef6
commit 52bc9e556b
10 changed files with 110 additions and 105 deletions

View file

@ -6,7 +6,7 @@ export async function GET(request: NextRequest) {
revalidateTag(tag);
return NextResponse.json(
{ revalidated: true, now: Date.now() },
{ revalidated: true, now: Date.now(), tag },
{
status: 200,
headers: {