CORS headers for served artifacts

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

CORS headers for served artifacts

Is it possible to force artifactory to serve artifacts (at least some extensions) with the following response headers ?

Access-Control-Allow-Origin:{configured list of allowed origins}

I've modified the tomcat's web.xml to include the following section. Now, the API responses include the headers I described above. BUT the served artifacts DO NOT.

                <param-value>{configured list of allowed origins}</param-value>