diff --git a/index.js b/index.js index d47fef7..c34d5dd 100644 --- a/index.js +++ b/index.js @@ -5,6 +5,7 @@ const crypto = require('crypto'); const port = 8080; +const log_disabled = false; var app = express(); @@ -12,6 +13,11 @@ const cache = { }; +if (log_disabled) { + console.prototype._log = console.log; + console.prototype.log = function (...args) { } +} + app.use("/files", express.static("projects")); function get_indexes(project_id) {