diff options
author | 2016-05-12 22:27:41 +0300 | |
---|---|---|
committer | 2016-05-12 22:27:41 +0300 | |
commit | c58e021d8631fd8e1dd1d40546a4aabce27e2cdf (patch) | |
tree | 29b9e1cd5ff528f89123a0f8b49b0ebe73a4ce3e /src/main/java/com/juick/api/Main.java | |
parent | 70a6b6c49ee6e220942a43ae4328ce9dcd24232b (diff) |
parse update
Diffstat (limited to 'src/main/java/com/juick/api/Main.java')
-rw-r--r-- | src/main/java/com/juick/api/Main.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/com/juick/api/Main.java b/src/main/java/com/juick/api/Main.java index 003b9aa3..7d5c8f1b 100644 --- a/src/main/java/com/juick/api/Main.java +++ b/src/main/java/com/juick/api/Main.java @@ -127,12 +127,16 @@ public class Main extends HttpServlet implements Stream.StreamListener { request.setCharacterEncoding("UTF-8"); } + String uri = request.getRequestURI(); + if (uri.equals("/tlgmbtwbhk")) { + tgb.doPost(request, response); + return; + } int vuid = Utils.getHttpAuthUID(jdbc, request); if (vuid == 0) { vuid = Utils.getVisitorQueryStringUID(jdbc, request); } - String uri = request.getRequestURI(); if (uri.equals("/home")) { if (vuid > 0) { messages.doGetHome(request, response, vuid); |