@@ -0,0 +1,921 @@
+package ge.edu.freeuni.sdp.xo.history;%0A%0Aimport java.io.IOException;%0A%0Aimport javax.ws.rs.container.ContainerRequestContext;%0Aimport javax.ws.rs.container.ContainerResponseContext;%0Aimport javax.ws.rs.container.ContainerResponseFilter;%0Aimport javax.ws.rs.ext.Provider;%0A%0A@Provider%0Apublic class CORSFilter implements ContainerResponseFilter %7B%0A%0A   @Override%0A   public void filter(final ContainerRequestContext requestContext,%0A                      final ContainerResponseContext cres) throws IOException %7B%0A      cres.getHeaders().add(%22Access-Control-Allow-Origin%22, %22*%22);%0A      cres.getHeaders().add(%22Access-Control-Allow-Headers%22, %22origin, content-type, accept, authorization%22);%0A      cres.getHeaders().add(%22Access-Control-Allow-Credentials%22, %22true%22);%0A      cres.getHeaders().add(%22Access-Control-Allow-Methods%22, %22GET, POST, PUT, DELETE, OPTIONS, HEAD%22);%0A      cres.getHeaders().add(%22Access-Control-Max-Age%22, %221209600%22);%0A   %7D%0A%0A%7D%0A

Create CORSFilter.java