Files
hobbypj-contents/ui/views
Bkk1234 0fa0406770 fix(api): report writable the same way PUT decides, return backup path
- GET /api/projects now returns writable: canWrite(req) + token_required, so the
  backoffice no longer claims it can save when ADMIN_TOKEN is set (PUT answered 403)
- PUT response exposes database + backup (forward-slash relative paths), drop the
  dead payload.backup assignment
- fail fast with a Thai hint when the database cannot be opened (permissions or
  corrupt file) instead of an unhandled stack trace
- AGENTS.md: document the two response fields
2026-11-23 00:33:30 +07:00
..