@@ -0,0 +1,867 @@
+package io.jenkins.plugins.web;%0A%0Aimport javax.ws.rs.container.ContainerRequestContext;%0Aimport javax.ws.rs.container.ContainerResponseContext;%0Aimport javax.ws.rs.container.ContainerResponseFilter;%0Aimport javax.ws.rs.core.MultivaluedMap;%0Aimport javax.ws.rs.ext.Provider;%0Aimport java.io.IOException;%0A%0A@Provider%0Apublic class CORSResponseFilter implements ContainerResponseFilter %7B%0A%0A  @Override%0A  public void filter(ContainerRequestContext requestContext, ContainerResponseContext responseContext) throws IOException %7B%0A    final MultivaluedMap%3CString, Object%3E headers = responseContext.getHeaders();%0A    headers.add(%22Access-Control-Allow-Origin%22, %22*%22);%0A    headers.add(%22Access-Control-Allow-Credentials%22, %22true%22);%0A    headers.add(%22Access-Control-Allow-Methods%22, %22GET%22);%0A    headers.add(%22Access-Control-Allow-Headers%22, %22origin, content-type, accept, authorization%22);%0A  %7D%0A%7D%0A

Enable CORS