File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ yarn-error.log*
4646# env files (can opt-in for committing if needed)
4747.env *
4848! .env.example
49+ worker /.dev.vars
50+ ! worker /.dev.vars.example
4951
5052# vercel
5153.vercel
Original file line number Diff line number Diff line change 1+ # Cloudflare Worker — local dev only (`wrangler dev`)
2+ #
3+ # Wrangler reads `.dev.vars` (gitignored) for local dev secrets/vars,
4+ # OVERRIDING values in wrangler.toml. Production uses `wrangler secret put`
5+ # and `[vars]` in wrangler.toml — NOT this file.
6+ #
7+ # Usage:
8+ # 1. cp .dev.vars.example .dev.vars
9+ # 2. Fill in real values
10+ # 3. wrangler dev
11+ #
12+ # DO NOT commit .dev.vars (it's in .gitignore).
13+
14+ # ── secrets (production: wrangler secret put) ────────────────────────────────
15+ GH_APP_PRIVATE_KEY="<paste PKCS#8 PEM here as a single line, escape newlines as \n>"
16+ RESEND_API_KEY="re_xxxxxxxxxxxxxxxxxxxxx"
17+ TURNSTILE_SECRET_KEY=""
18+
19+ # ── vars (production: wrangler.toml [vars]) ──────────────────────────────────
20+ GH_APP_ID="3664188"
21+ PRODUCT_ROUTES='{"shopzy":{"repo":"first-fluke/shopzy","installationId":"131094718"}}'
22+ ALLOWED_ORIGINS="http://localhost:3000"
23+ RESEND_FROM="FIRST FLUKE <contact@mail.firstfluke.com>"
24+ OPS_ALERT_TO="ops@example.com"
You can’t perform that action at this time.
0 commit comments