diff --git a/server/controllers/assets/serveAsset/index.js b/server/controllers/assets/serveAsset/index.js index 677ea8be..cb629a76 100644 --- a/server/controllers/assets/serveAsset/index.js +++ b/server/controllers/assets/serveAsset/index.js @@ -12,8 +12,8 @@ const serveAsset = ({ headers, ip, originalUrl, params: { claimName, claimId } } // send google analytics sendGAServeEvent(headers, ip, originalUrl); // log the request data for debugging - logRequestData(null, claimName, null, claimId); - // get the claim Id and then serdve the asset + // logRequestData(null, claimName, null, claimId); + // get the claim Id and then serve the asset getClaimIdAndServeAsset(null, null, claimName, claimId, originalUrl, ip, res); }; diff --git a/server/controllers/assets/serveByClaim/index.js b/server/controllers/assets/serveByClaim/index.js index 93645561..2ec698b4 100644 --- a/server/controllers/assets/serveByClaim/index.js +++ b/server/controllers/assets/serveByClaim/index.js @@ -39,7 +39,7 @@ const serveByClaim = (req, res) => { // send google analytics sendGAServeEvent(headers, ip, originalUrl); // log the request data for debugging - logRequestData(requestType, claimName, null, null); + // logRequestData(requestType, claimName, null, null); // get the claim Id and then serve the asset getClaimIdAndServeAsset(null, null, claimName, null, originalUrl, ip, res); }; diff --git a/server/controllers/assets/serveByIdentifierAndClaim/index.js b/server/controllers/assets/serveByIdentifierAndClaim/index.js index a2d67cfa..0089610d 100644 --- a/server/controllers/assets/serveByIdentifierAndClaim/index.js +++ b/server/controllers/assets/serveByIdentifierAndClaim/index.js @@ -51,7 +51,7 @@ const serverByIdentifierAndClaim = (req, res) => { // send google analytics sendGAServeEvent(headers, ip, originalUrl); // log the request data for debugging - logRequestData(requestType, claimName, channelName, claimId); + // logRequestData(requestType, claimName, channelName, claimId); // get the claim Id and then serve the asset getClaimIdAndServeAsset(channelName, channelClaimId, claimName, claimId, originalUrl, ip, res); };