mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
Update revalidate path
This commit is contained in:
@@ -31,7 +31,7 @@ export async function POST(request: NextRequest) {
|
||||
let pathToRevalidate = "";
|
||||
|
||||
if (type === "home") {
|
||||
pathToRevalidate = `${slug}`
|
||||
pathToRevalidate = `/${locale}`
|
||||
} else {
|
||||
pathToRevalidate = `/${locale}${slug}`
|
||||
}
|
||||
|
Reference in New Issue
Block a user