Open awatson1978 opened 7 years ago
Pull request to allow setting custom content-types.
JsonRoutes.setResponseHeaders({ "Content-Type": "application/fhir+json" }); JsonRoutes.add("post", "/fhir/Patient", function (req, res, next) { res.setHeader("Access-Control-Allow-Origin", "*"); res.setHeader("Content-Type", "application/fhir+json"); // etc etc etc });
Pull request to allow setting custom content-types.