Nextjs page goes to 404 on refresh
问题 I'm using nextjs and graphql for a shopify POC. I have a component that shows a list of products with links on them that point to the product page <Link as={`${handle}/product/${url}`} href={`/product?id=${item.id};`}> <a>{item.title}</a> </Link> handle is the collection name so the url in the browser will look like http://localhost:3000/new-releases/product/Plattan-2-Bluetooth but behind the scenes its really just using a page called products and i'm passing the product id. Now in product.js