Shopify Oauth Catcher
repo: ~/Projects/shopify-oauth-catcher · 3 commits · 0 in last 24h, 0 in last 7d ·
Skills used
- /snapshot2
- /install1
- /callback1
Creative ideas + design notes
Commits with substantial prose (≥120 chars) — the rationale behind each move.
26ea658 · 2026-05-19 · feat(server): 404-guard snapshot file paths
Adds Express middleware that rejects any request path matching common
editor/snapshot extensions (.bak, .bak.<x>, .pre-*, .orig, .rej, .swp,
trailing ~) with a 404 before reaching any route or static handler.
Defense-in-depth — if a future static dir is added or a stray snapshot
file is left in the deploy tree (or exposed via a misconfigured proxy),
it cannot leak source / config / token-shaped content over HTTP.
OAuth flow unchanged: /install and /callback handlers untouched.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
8d63f76 · 2026-05-19 · chore(gitignore): broaden to ignore editor/snapshot detritus
Adds *.bak, *.bak.*, *.pre-*, *.orig, *.rej, *.swp, *~ so stray
snapshot files from refactor passes don't sneak into git.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
File tree
5 files tracked. Click any to browse the source at HEAD.
rendered in 0ms