Skip to content

Commit 281aed1

Browse files
committed
chore(security): ignore .dev.vars and untrack committed secret
The Cloudflare Workers .dev.vars file holding the Neon URL and Better Auth secret was tracked and leaked. Untrack it now and add a gitignore rule so it cannot slip back in. History scrub and credential rotation follow.
1 parent 076af52 commit 281aed1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ node_modules
1010
.env.test.local
1111
.env.production.local
1212

13+
# Cloudflare Workers local secrets — never commit
14+
.dev.vars
15+
.dev.vars.*
16+
!.dev.vars.example
17+
1318
# Testing
1419
coverage
1520

0 commit comments

Comments
 (0)