Iskra API Reference
    Preparing search index...

    Interface CorsConfig

    interface CorsConfig {
        allowHeaders?: string[];
        allowMethods?: string[];
        credentials?: boolean;
        exposeHeaders?: string[];
        maxAge?: number;
        origin?: string | string[] | ((origin: string) => boolean);
    }
    Index
    allowHeaders?: string[]
    allowMethods?: string[]
    credentials?: boolean
    exposeHeaders?: string[]
    maxAge?: number
    origin?: string | string[] | ((origin: string) => boolean)