8 lines
254 B
TypeScript
8 lines
254 B
TypeScript
/**
|
|
* The /api URL prefix — single source for both halves of the web transport.
|
|
* The node half registers this prefix on the web server.
|
|
*/
|
|
|
|
/** Route prefix owning every api request (`/api` and `/api/<anything>`). */
|
|
export const API_PATH = '/api'
|