Skip to Content

AdminApiProxyHandlerOptions

type AdminApiProxyHandlerOptions = object;

How createAdminApiProxyHandler serves the admin API.

Properties

authenticate?

authenticate?: (request) => Promise<void>;

Decides whether a request may use the server’s key; throw to refuse it. Without it, every request that reaches the handler is served.

Parameters

request

Request


basePath?

basePath?: string;

The path the handler is mounted at. Defaults to /api/preternatural.

Last updated on