.env
に書きたい
これは自分のどこだ?
SESSION_SECRET="foobar" PUBLIC_STOREFRONT_API_TOKEN="3b580e70970c4528da70c98e097c2fa0" PUBLIC_STOREFRONT_API_VERSION="2023-01" PUBLIC_STORE_DOMAIN="hydrogen-preview.myshopify.com"
https://shopify.dev/docs/custom-storefronts/hydrogen/environment-variables
PUBLIC_STOREFRONT_API_TOKEN: The public access token for the Storefront API. PRIVATE_STOREFRONT_API_TOKEN: The private access token for the Storefront API. PUBLIC_STOREFRONT_API_VERSION (optional): The Storefront API version. Defaults to the version of the Storefront API used by Hydrogen. PUBLIC_STORE_DOMAIN: The domain of the store used to communicate with the Storefront API. SESSION_SECRET: A secret used to sign session cookies. Refer to the Remix documentation on using sessions for more information.
Storefront APIってどこ?
この記事にある?