interim commit, still nothing done
parent
3480a1d60e
commit
aecbe6d316
@ -0,0 +1,14 @@
|
||||
var DebugRoute = function(app) {
|
||||
var Notifications = require('../notifications');
|
||||
|
||||
app.namespace('/debug', function() {
|
||||
app.get('/prune', function(req, res) {
|
||||
Notifications.prune(new Date(), function() {
|
||||
console.log('done');
|
||||
});
|
||||
res.send();
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
module.exports = DebugRoute;
|
Loading…
Reference in New Issue