[object Object]

← back to Calc 67

fix: remove 128MB source archive from public/ (served asset leak) + add archive/backup patterns to .gitignore

920353020acedf9f3f0a641745d739632791c5f0 · 2026-05-30 23:49:13 -0700 · SteveStudio2

public/67calc.tar.gz was tracked in git and would be served at /67calc.tar.gz
by Next.js static file serving. Removed the file, untracked it, and added
*.tar.gz / *.bak / *.orig / *.old etc. to .gitignore to prevent recurrence.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Files touched

Diff

commit 920353020acedf9f3f0a641745d739632791c5f0
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date:   Sat May 30 23:49:13 2026 -0700

    fix: remove 128MB source archive from public/ (served asset leak) + add archive/backup patterns to .gitignore
    
    public/67calc.tar.gz was tracked in git and would be served at /67calc.tar.gz
    by Next.js static file serving. Removed the file, untracked it, and added
    *.tar.gz / *.bak / *.orig / *.old etc. to .gitignore to prevent recurrence.
    
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---
 .gitignore           |  13 +++++++++++++
 public/67calc.tar.gz | Bin 134318394 -> 0 bytes
 2 files changed, 13 insertions(+)

diff --git a/.gitignore b/.gitignore
index b512a97..914cd1e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,3 +29,16 @@ next-env.d.ts
 tmp/
 *.log
 dist/
+
+# Archive / backup files — never serve these
+*.tar.gz
+*.tar
+*.zip
+*.bak
+*.bak-*
+*.pre-*
+*.orig
+*.save
+*.old
+*~
+copy-of-*
diff --git a/public/67calc.tar.gz b/public/67calc.tar.gz
deleted file mode 100644
index 5bc0427..0000000
Binary files a/public/67calc.tar.gz and /dev/null differ

← 6648c94 tighten .gitignore: add missing standing-rule patterns (tmp/  ·  back to Calc 67  ·  (newest)