mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 03:55:55 +01:00
interim commit
This commit is contained in:
@@ -298,6 +298,12 @@ passport.deserializeUser(function(uid, done) {
|
||||
res.send('User profile for uid: ' + uid);
|
||||
});
|
||||
});
|
||||
|
||||
app.get('/test', function(req, res) {
|
||||
global.modules.posts.get(function(data) {
|
||||
res.send('<pre>' + JSON.stringify(data) + '</pre>');
|
||||
}, 1, 1);
|
||||
});
|
||||
}(WebServer));
|
||||
|
||||
server.listen(config.port);
|
||||
|
||||
Reference in New Issue
Block a user