# Your Medusa backend, should be updated to where you are hosting your server. Remember to update CORS settings for your server. See – https://docs.medusajs.com/learn/configurations/medusa-config#httpstorecors MEDUSA_BACKEND_URL=http://localhost:9000 # Your publishable key that can be attached to sales channels. See - https://docs.medusajs.com/resources/storefront-development/publishable-api-keys NEXT_PUBLIC_MEDUSA_PUBLISHABLE_KEY=pk_test # Your store URL, should be updated to where you are hosting your storefront. NEXT_PUBLIC_BASE_URL=http://localhost:8000 # Your preferred default region. When middleware cannot determine the user region from the "x-vercel-country" header, the default region will be used. ISO-2 lowercase format. NEXT_PUBLIC_DEFAULT_REGION=vn # Your Stripe public key. See – https://docs.medusajs.com/resources/commerce-modules/payment/payment-provider/stripe NEXT_PUBLIC_STRIPE_KEY= # Your Medusa payments publishable key. You can find it in your Medusa dashbard. NEXT_PUBLIC_MEDUSA_PAYMENTS_PUBLISHABLE_KEY= # Your Medusa payments external account ID. You can find it in your Medusa dashbard. NEXT_PUBLIC_MEDUSA_PAYMENTS_ACCOUNT_ID= # Your Next.js revalidation secret. See – https://nextjs.org/docs/app/building-your-application/data-fetching/fetching-caching-and-revalidating#on-demand-revalidation REVALIDATE_SECRET=supersecret # Extra hostnames allowed for next/image (comma-separated), e.g. the public # ngrok/CDN host serving uploaded product images. The host of MEDUSA_BACKEND_URL # is already allowed. NEXT_PUBLIC_IMAGE_HOSTS= # For Cloud users: add your Medusa Cloud S3 hostname and pathname to enable image optimization. MEDUSA_CLOUD_S3_HOSTNAME= MEDUSA_CLOUD_S3_PATHNAME= # Newsletter sign-ups are stored by the Medusa backend (POST /store/newsletter); # no extra configuration is needed here.