mirror of
https://github.com/vercel/commerce.git
synced 2025-05-20 00:16:59 +00:00
Update revalidate paths again
This commit is contained in:
parent
04082124f3
commit
96929d2221
@ -12,6 +12,7 @@ export async function POST(request: NextRequest) {
|
|||||||
const path = request.nextUrl.searchParams.get('path') || '/'
|
const path = request.nextUrl.searchParams.get('path') || '/'
|
||||||
|
|
||||||
console.log(`===== Path: ${path}`)
|
console.log(`===== Path: ${path}`)
|
||||||
|
console.log(`===== Search params: ${request.nextUrl.searchParams}`)
|
||||||
|
|
||||||
// Get headers.
|
// Get headers.
|
||||||
const headersList = headers();
|
const headersList = headers();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user