AskSQL API Reference (core v0.10.0)
    Preparing search index...

    Interface ExpressAdapterOptions

    interface ExpressAdapterOptions {
        allowHeaders?: readonly string[];
        cors?: string | boolean | readonly string[];
    }
    Index
    allowHeaders?: readonly string[]

    Header the client sends auth in; echoed in Allow-Headers. Default common set.

    cors?: string | boolean | readonly string[]

    CORS for cross-origin frontends: true reflects the request Origin, or pass a fixed origin / list of allowed origins. Omit for same-origin deployments (no CORS headers).