OCR suffix matching for connect_id + SW cache v10 #65

Open
opened 2026-06-02 22:33:43 +00:00 by shawn · 0 comments
Owner

Changes:

  • Suffix matching: when OCR detects a 7+ digit numeric string, it now searches for assets whose connect_id or equipment_id ENDS with those digits.
  • Bumped service worker cache to v10 to force refresh stale PWA clients.

Commit: c8ffab2

Test: curl POST /api/match-text with text="0000099387" returns asset 99387

**Changes:** - Suffix matching: when OCR detects a 7+ digit numeric string, it now searches for assets whose connect_id or equipment_id ENDS with those digits. - Bumped service worker cache to v10 to force refresh stale PWA clients. **Commit:** c8ffab2 **Test:** curl POST /api/match-text with text="0000099387" returns asset 99387
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shawn/canteen-asset-tracker#65