run method

  1. @override
Response run(
  1. Request request,
  2. Response response
)
override

Implementation

@override
Response run(Request request, Response response) {
  response.setHeader('Access-Control-Allow-Origin', origin);
  return response;
}