Skip to content

Commit

Permalink
debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsenasm committed Oct 24, 2023
1 parent 22e7837 commit 87b02d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,6 @@ if (enableAuthentication) {
res.send("no-auth-token-needed");
});
}
app.use(pathPrefix + "/", router);

if (debugMode) {
router.get('/debug-log', (req, res) => {
console.log("lastRunningNodeExportes", lastRunningNodeExportes);
Expand All @@ -559,6 +557,8 @@ if (debugMode) {
});
}

app.use(pathPrefix + "/", router);

// start the polling

let lastRunningNodeExportes = [];
Expand Down

0 comments on commit 87b02d4

Please sign in to comment.