mirror of
https://github.com/screentinker/screentinker.git
synced 2026-05-15 07:32:23 -06:00
Two pre-existing bugs surfaced during deploy: - /api/devices/:id/screenshot fell back to a query referencing screenshots.created_at, but the schema column is captured_at. Threw SqliteError 500 whenever the in-memory cache was cold (e.g. just after a server restart). - The SPA catch-all at /* served index.html for non-/api paths but did nothing for unmatched /api/ paths — the response hung until the upstream timeout (524 from Cloudflare at 15s). Now returns 404 JSON. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| db | ||
| middleware | ||
| player | ||
| routes | ||
| services | ||
| ws | ||
| config.js | ||
| package-lock.json | ||
| package.json | ||
| server.js | ||