Files
orion/static
Samir Boulahtit 856db328b5
Some checks failed
CI / ruff (push) Successful in 16s
CI / validate (push) Has been cancelled
CI / dependency-scanning (push) Has been cancelled
CI / docs (push) Has been cancelled
CI / deploy (push) Has been cancelled
CI / pytest (push) Has been cancelled
chore(api-client): drop dead /shop/ path branches (migrated to /storefront long ago)
The customer-area used to be mounted at /shop/* and was migrated to
/storefront long ago, but apiClient.js still carried the dead /shop/
checks alongside the live ones added in a0ae6388. Removed:

- /shop/ + /api/v1/shop/ predicates from getToken()'s customer-area
  branch (lines 62-63).
- Same predicates from clearTokens()'s customer-area branch
  (lines 409-410).
- Updated both functions' JSDoc to list the actual live paths
  (/account/* + /api/v1/storefront/*) and to mention the /merchants/*
  branch that was already in code but missing from the comment.

No behaviour change — verified zero callers via grep across app/,
static/, middleware/. The /shop/ branches always evaluated false in
production.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-29 21:37:37 +02:00
..