Skip to content

Commit

Permalink
test cache 2
Browse files Browse the repository at this point in the history
  • Loading branch information
vnugent committed Apr 26, 2024
1 parent cd906a8 commit 0157b28
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/api/updateAreaPage/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ export async function GET (request: NextRequest): Promise<any> {
} else {
revalidatePath(`/area/${uuid}`, 'page')
revalidatePath(`/editArea/${uuid}`, 'layout')
revalidatePath('/', 'page')
revalidatePath('/edit', 'page')
return NextResponse.json({ message: 'OK' }, { status: 200 })
}
}

0 comments on commit 0157b28

Please sign in to comment.