mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: nextjs bugs with data mutations
This commit is contained in:
parent
e0c4cffef6
commit
52bc9e556b
10 changed files with 110 additions and 105 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue