[object Object]

← back to Corkwallcovering

fix: remove public/index.html.bak-* leak and add *.bak-* to .gitignore

a99cbe8d09915e88a5295bbafbc64131c9d79f1b · 2026-05-30 21:31:35 -0700 · SteveStudio2

Backup file was served by express.static at /index.html.bak-20260526152130.
Deleted file, added *.bak-* pattern to .gitignore so dated backups are
always excluded from both git and static serving.

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

Files touched

Diff

commit a99cbe8d09915e88a5295bbafbc64131c9d79f1b
Author: SteveStudio2 <stevestudio2@SteveStacStudio.lan>
Date:   Sat May 30 21:31:35 2026 -0700

    fix: remove public/index.html.bak-* leak and add *.bak-* to .gitignore
    
    Backup file was served by express.static at /index.html.bak-20260526152130.
    Deleted file, added *.bak-* pattern to .gitignore so dated backups are
    always excluded from both git and static serving.
    
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---
 .gitignore        |  1 +
 package-lock.json | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/.gitignore b/.gitignore
index 913246e..3a3ad0f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,4 +25,5 @@ venv/
 out/
 *.bak
 *.bak.*
+*.bak-*
 *.pre-*
diff --git a/package-lock.json b/package-lock.json
index 6fb34cb..411afb4 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -8,6 +8,7 @@
       "name": "corkwallcovering",
       "version": "0.1.0",
       "dependencies": {
+        "dotenv": "^17.4.2",
         "express": "^4.21.0",
         "helmet": "^8.1.0"
       }
@@ -172,6 +173,18 @@
         "npm": "1.2.8000 || >= 1.4.16"
       }
     },
+    "node_modules/dotenv": {
+      "version": "17.4.2",
+      "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.4.2.tgz",
+      "integrity": "sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==",
+      "license": "BSD-2-Clause",
+      "engines": {
+        "node": ">=12"
+      },
+      "funding": {
+        "url": "https://dotenvx.com"
+      }
+    },
     "node_modules/dunder-proto": {
       "version": "1.0.1",
       "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",

← e01dabf feat(fleet): theme1/theme2 query-param-gated toggle on catal  ·  back to Corkwallcovering  ·  fix /api/facets to count over the active filtered set (drill 4d7b5b5 →