Skip to content

Instantly share code, notes, and snippets.

@vpasquier
Created March 9, 2017 19:44
Show Gist options
  • Save vpasquier/38e7bf30b295e0389c60606b4a67279b to your computer and use it in GitHub Desktop.
Save vpasquier/38e7bf30b295e0389c60606b4a67279b to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<component name="org.nuxeo.cors">
<extension target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService" point="corsConfig">
<corsConfig name="foobar" allowOrigin="*" supportedMethods="GET, POST, PUT, DELETE, HEAD, OPTIONS">
<pattern>.*</pattern>
</corsConfig>
</extension>
</component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment