aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/Main.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2014-07-25 18:14:56 +0700
committerGravatar Ugnich Anton2014-07-25 18:14:56 +0700
commit21847edc8b557f795bc6e64ca1f84c23252ab314 (patch)
treecdec287b127e04a946ede374b74385b9d7261f1b /src/java/com/juick/http/www/Main.java
parenta0a9e4151991111886d88b565fda7db9fba1dfd8 (diff)
Reader
Diffstat (limited to 'src/java/com/juick/http/www/Main.java')
-rw-r--r--src/java/com/juick/http/www/Main.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/com/juick/http/www/Main.java b/src/java/com/juick/http/www/Main.java
index e0c84734..1d5e64d3 100644
--- a/src/java/com/juick/http/www/Main.java
+++ b/src/java/com/juick/http/www/Main.java
@@ -49,6 +49,7 @@ public class Main extends HttpServlet implements Stream.StreamListener {
Stream xmpp;
Home home = new Home();
Discover discover = new Discover();
+ Reader reader = new Reader();
PM pm = new PM();
Login login = new Login();
Help help = new Help();
@@ -150,6 +151,8 @@ public class Main extends HttpServlet implements Stream.StreamListener {
com.juick.User visitor = Utils.getVisitorUser(sql, request, response);
home.doGet(sql, sqlSearch, request, response, visitor);
}
+ } else if (uri.equals("/reader")) {
+ reader.doGet(sql, request, response);
} else if (uri.equals("/post")) {
com.juick.User visitor = Utils.getVisitorUser(sql, request, response);
if (visitor != null) {