diff --git a/server/app/common/get-linked-data.js b/server/app/common/get-linked-data.js index 7cc1d79..b842c70 100644 --- a/server/app/common/get-linked-data.js +++ b/server/app/common/get-linked-data.js @@ -28,6 +28,10 @@ module.exports = async function getLinkedData(req, res, next, resourceUri, templ let indexOfComma = accept.indexOf(","); let firstAccept = accept.substring(0, indexOfComma); + console.log(firstAccept); + console.log(HttpStrings.CONTENT_TYPE_JSONLD); + + if (firstAccept == HttpStrings.CONTENT_TYPE_JSONLD) { // Handle JSONLD separately var jsonld = await getJsonld(resourceUri, template, formatting);