mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Fix product paths
This commit is contained in:
@@ -27,6 +27,7 @@ export async function getStaticPaths() {
|
||||
|
||||
return {
|
||||
paths: products.map((product) => `/product${product.node.path}`),
|
||||
// If your store has tons of products, enable fallback mode to improve build times!
|
||||
fallback: false,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user