Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Entry point: `main.go` → opens SQLite DB → runs CLI or starts HTTP server on
- `phoenix/` — HTTP client for Phoenix Server API (invoices, payments, balance, channels). Uses basic auth from phoenix config (password cached at startup with `sync.Once`)
- `crypto/` — AES-CMAC authentication and AES decryption for Bolt Card NFC protocol
- `util/` — Error handling helpers (`CheckAndLog`), random hex generation, QR code encoding
- `build/` — Version string (currently "0.20.0"), date/time injected at build
- `build/` — Version string (currently "0.20.1"), date/time injected at build
- `web-content/` — Static assets under `public/`, SPA build output under `admin/spa/`

### Route Groups (`web/app.go`)
Expand Down
2 changes: 1 addition & 1 deletion docker/card/build/build.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package build

var Version string = "0.20.0"
var Version string = "0.20.1"
var Date string
var Time string
5 changes: 4 additions & 1 deletion docker/card/web/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ func RenderStaticContent(w http.ResponseWriter, request string) {
content, err := os.Open(fullPath)

if err != nil {
log.Info(err.Error())
// Missing static files are normal 404s — mostly vulnerability
// scanners probing for .env, .git/config, etc. Log at debug so
// this background noise doesn't bury operational INFO lines.
log.Debug(err.Error())
Blank(w, nil)
return
}
Expand Down
Loading