Skip to content

Instantly share code, notes, and snippets.

@vpasquier
Created February 13, 2017 21:32
Show Gist options
  • Save vpasquier/44eb68343710a1586a11d19fad35ef42 to your computer and use it in GitHub Desktop.
Save vpasquier/44eb68343710a1586a11d19fad35ef42 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>.*
</corsConfig>
</extension>
</component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment