Skip to content

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 15 Jun 00:25
· 84 commits to main since this release

Fixed

  • "Scan failed: Unexpected token '<'" on session expiry: All fetch() calls in the
    admin UI now send Accept: application/json. Previously, when a session expired the
    auth middleware returned an HTML 302 redirect (no Accept header → not a JSON client),
    fetch() followed it silently, received an HTML login page with HTTP 200, and the
    caller's .json() parse threw "Unexpected token '<'…". Sending the header ensures the
    middleware returns 401 JSON instead, and the UI displays a proper error message.