mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 22:16:58 +00:00
Update revalidate paths again
This commit is contained in:
parent
c02df1b3ee
commit
04082124f3
@ -9,6 +9,10 @@ export async function POST(request: NextRequest) {
|
||||
// Await the response from our request.
|
||||
const requestData = await request.json();
|
||||
|
||||
const path = request.nextUrl.searchParams.get('path') || '/'
|
||||
|
||||
console.log(`===== Path: ${path}`)
|
||||
|
||||
// Get headers.
|
||||
const headersList = headers();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user