Skip to main content
Defined in: server/customRoutes.ts:12

Properties

methods?

Defined in: server/customRoutes.ts:22 HTTP methods served, compared case-insensitively. Default: ['GET']. OPTIONS is rejected at registration: it is reserved for the global CORS preflight, and never dispatches to a route even when CORS is disabled (http.cors: false).

path

Defined in: server/customRoutes.ts:15 Exact request path to serve; the query string is ignored for matching. Must start with /. No patterns, no path parameters.