You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by GitBox <gi...@apache.org> on 2019/05/24 10:46:16 UTC

[GitHub] [metamodel-membrane] nvitucci opened a new pull request #22: Add support for CORS

nvitucci opened a new pull request #22: Add support for CORS
URL: https://github.com/apache/metamodel-membrane/pull/22
 
 
   This PR is meant to make it easy to enable CORS (for instance, to support the use of an API visualisation tool or to call the server externally).
   
   To run the updated server:
   
   `$ ENABLE_CORS=true java -jar -server undertow/target/membrane-undertow-server.jar`
   
   This is a very specific solution. If a more general solution is preferred (e.g. to support the addition of any kind of header), please feel free to modify it or to discard it altogether.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services