diff --git a/public/templates/topic.tpl b/public/templates/topic.tpl index 02935ba553..515b314fca 100644 --- a/public/templates/topic.tpl +++ b/public/templates/topic.tpl @@ -37,106 +37,135 @@ \ No newline at end of file diff --git a/src/webserver.js b/src/webserver.js index 87a01550c5..c08190096d 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -340,7 +340,7 @@ passport.deserializeUser(function(uid, done) { app.get('/test', function(req, res) { global.modules.posts.get(function(data) { - res.send('
' + JSON.stringify(data) + '
'); + res.send('
' + JSON.stringify(data, null, 4) + '
'); }, 1, 1); }); }(WebServer));