Enable cross-origin resource sharing so that this script can be used to proxy calls to the GEO label service. This is used by the schema plugin to create an XHR POST request to generate a GEO label for the current metadata record being viewed.
Better error message for when the cURL request is successful but the response isn't a valid SVG
Use a GET parameter as control to separate CORS requests from those made by the tutorial. Refactors out being able to cross-origin request an SVG from a GeoNetwork ID as that functionality is specific to the tutorial only.
Fix GeoNetwork ID not being returned for the tutorial request
Merge pull request #2 from lushc/feature/embed-geolabel

Enable CORS for GEO label requests