Skip to content

Commit

Permalink
logging for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Forberg committed Feb 19, 2024
1 parent 8f7f061 commit 517cf00
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/app/common/get-linked-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 517cf00

Please sign in to comment.