Skip to content

Commit

Permalink
add .dev.vars.example file and remove vars from wrangler.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-piotrowicz authored and vicb committed Oct 2, 2024
1 parent ef85fc2 commit 3628be6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
7 changes: 7 additions & 0 deletions examples/vercel-commerce/.dev.vars.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
COMPANY_NAME="Vercel Inc."
TWITTER_CREATOR="@vercel"
TWITTER_SITE="https://nextjs.org/commerce"
SITE_NAME="Next.js Commerce"
SHOPIFY_REVALIDATION_SECRET=""
SHOPIFY_STOREFRONT_ACCESS_TOKEN=""
SHOPIFY_STORE_DOMAIN="[your-shopify-store-subdomain].myshopify.com"
9 changes: 0 additions & 9 deletions examples/vercel-commerce/wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,3 @@ compatibility_flags = ["nodejs_compat_v2"]

# Use the new Workers + Assets to host the static frontend files
assets = { directory = ".worker-next/assets", binding = "ASSETS" }

[vars]
COMPANY_NAME="Vercel Inc."
TWITTER_CREATOR="@vercel"
TWITTER_SITE="https://nextjs.org/commerce"
SITE_NAME="Next.js Commerce"
SHOPIFY_REVALIDATION_SECRET=""
SHOPIFY_STOREFRONT_ACCESS_TOKEN=""
SHOPIFY_STORE_DOMAIN="[your-shopify-store-subdomain].myshopify.com"

0 comments on commit 3628be6

Please sign in to comment.