iya-sts
    Preparing search index...

    Variable response

    response: () => (req: any, res: any, next: any) => void = response

    Type Declaration

      • (): (req: any, res: any, next: any) => void
      • Builds the middleware that sets CORS headers on every other response.

        It never refuses anything: the endpoint answers exactly as before, and the header decides whether a page on another origin may read the answer.

        Returns (req: any, res: any, next: any) => void

        the express middleware