feat: show and forget the barcodes of a stock item #6
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/stock-codes-and-api-errors"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Three fixes from the list of improvements, one commit each.
Accept: application/json(browser, curl, monitoring), the auth middleware built a redirect to theloginroute, which the API doesn't have, and failed with a 500. Guests are no longer redirected, so the usual JSON 401 is rendered.https://app//set-password(the SPA's 404) and the CORS origin matched no browser. Each origin is now trimmed.No API or database change.
Testing
make cipassed: backend, frontend (lint, svelte-check, Vitest, Playwright, build) and commits.text/html,*/*and noAccept;FRONTEND_URLwith trailing slashes and spaces for links and CORS.