Skip to content

Commit

Permalink
chore: cleanup old timing debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
CaramelKat committed Jan 20, 2025
1 parent 57def07 commit c8aa897
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/middleware/consoleAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ async function auth(request, response, next) {
}

response.locals.lang = util.processLanguage(request.paramPackData);
//console.timeEnd(`Time Request ${request.timerDate}`);
response.locals.pid = request.pid;
return next();
}
Expand Down
1 change: 0 additions & 1 deletion src/middleware/detectVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const util = require('../util');

async function detectVersion(request, response, next) {
request.timerDate = Date.now();
console.time(`Time Request ${request.timerDate}`);
// Check the domain and set the directory
if (includes(request, 'juxt')) {
request.directory = 'web';
Expand Down

0 comments on commit c8aa897

Please sign in to comment.