diff --git a/src/routes/debug.js b/src/routes/debug.js index 5b9298c42e..807b85eb78 100644 --- a/src/routes/debug.js +++ b/src/routes/debug.js @@ -1,13 +1,19 @@ var DebugRoute = function(app) { - var Notifications = require('../notifications'); - app.namespace('/debug', function() { app.get('/prune', function(req, res) { + var Notifications = require('../notifications'); + Notifications.prune(new Date(), function() { console.log('done'); }); res.send(); }); + + app.get('/uuidtest', function(req, res) { + var Utils = require('../../public/src/utils.js'); + + res.send(Utils.generateUUID()); + }); }); };