api-path.ts 254 B

1234567
  1. /**
  2. * The /api URL prefix — single source for both halves of the web transport.
  3. * The node half registers this prefix on the web server.
  4. */
  5. /** Route prefix owning every api request (`/api` and `/api/<anything>`). */
  6. export const API_PATH = '/api'