Setu-TS
    Preparing search index...

    Type Alias CorsOriginMatcher

    CorsOriginMatcher: (
        origin: string,
        ctx: IRequestContext,
    ) => string | boolean | Promise<string | boolean>

    Origin matcher function for dynamic CORS decisions.

    Type Declaration

      • (
            origin: string,
            ctx: IRequestContext,
        ): string | boolean | Promise<string | boolean>
      • Parameters

        Returns string | boolean | Promise<string | boolean>