mirror of
https://github.com/vercel/commerce.git
synced 2025-07-25 11:11:24 +00:00
Fix search engine adding wildcard *
This commit is contained in:
@@ -39,6 +39,7 @@ export async function getStaticProps({
|
||||
config,
|
||||
preview,
|
||||
})
|
||||
|
||||
const allProductsPromise = commerce.getAllProducts({
|
||||
variables: { first: 4 },
|
||||
config,
|
||||
@@ -56,6 +57,8 @@ export async function getStaticProps({
|
||||
}
|
||||
}
|
||||
|
||||
console.log(relatedProducts)
|
||||
|
||||
return {
|
||||
props: {
|
||||
pages,
|
||||
|
Reference in New Issue
Block a user