← back to Hotelwallcoverings
fix: remove public backup file leak + add *.bak-* to .gitignore
e801b3895c8c3f62592a9e4230f39ab8fcae5c8a · 2026-05-30 21:29:48 -0700 · Steve Abrams
public/index.html.bak-20260526152130 was present in the webroot and served
by express.static (HTTP guard blocked it at the route level but file existed
on disk). Deleted the file. Also added *.bak-* pattern to .gitignore since
the existing *.bak.* pattern uses dot-separator and would not catch
dash-separated backup filenames like this one.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Files touched
M .gitignoreM package-lock.json
Diff
commit e801b3895c8c3f62592a9e4230f39ab8fcae5c8a
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Sat May 30 21:29:48 2026 -0700
fix: remove public backup file leak + add *.bak-* to .gitignore
public/index.html.bak-20260526152130 was present in the webroot and served
by express.static (HTTP guard blocked it at the route level but file existed
on disk). Deleted the file. Also added *.bak-* pattern to .gitignore since
the existing *.bak.* pattern uses dot-separator and would not catch
dash-separated backup filenames like this one.
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 1140724..3a7a026 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,4 +11,5 @@ build/
.next/
*.bak
*.bak.*
+*.bak-*
*.pre-*
diff --git a/package-lock.json b/package-lock.json
index 2dd7117..4e1b72b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -8,6 +8,7 @@
"name": "hotelwallcoverings",
"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",
← c419af9 feat(fleet): theme1/theme2 query-param-gated toggle on catal
·
back to Hotelwallcoverings
·
Add 301 redirect from legacy .html URLs to clean-URL form 0e2ca52 →