Skip to content

Node.js based forum software built for the modern web

test branch

Baris Usakli67247876ff9e
diff --git a/src/webserver.js b/src/webserver.js
index ea4a96f322..46b2ee0a9e 100644
--- a/src/webserver.js
+++ b/src/webserver.js
@@ -295,7 +295,17 @@ var express = require('express'),
app.get('/api/:method/:id*', api_method);
app.all('/test', function(req, res) {
- res.send();
+ //res.send();
+
+ /*posts.getPostsByPids([1,2,3], 1, function(data) {
+ res.send(data);
+ });*/
+
+ posts.getPostsByTid(1, 1, 0, 10, function(data) {
+ res.send(data);
+ });
+
+
});
//START TODO: MOVE TO GRAPH.JS