removed garbage logging
This commit is contained in:
parent
90b1c62c2d
commit
91b8c467a2
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>ru.froggymonitor</groupId>
|
||||
<artifactId>rewardplugin</artifactId>
|
||||
<version>1.0</version>
|
||||
<version>1.1</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>FroggyMonitorReward</name>
|
||||
|
@ -14,8 +14,6 @@ import java.util.*;
|
||||
public abstract class FormDataHandler implements HttpHandler {
|
||||
@Override
|
||||
public void handle(HttpExchange httpExchange) throws IOException {
|
||||
System.out.println(httpExchange);
|
||||
|
||||
Headers headers = httpExchange.getRequestHeaders();
|
||||
|
||||
if (headers.containsKey("Content-type")) {
|
||||
|
@ -47,7 +47,7 @@ public class SitePart extends FormDataHandler {
|
||||
String method = e.getRequestMethod();
|
||||
String path = e.getRequestURI().getPath();
|
||||
|
||||
System.out.println(response+" "+status_code+" "+path+" "+method);
|
||||
// System.out.println(response+" "+status_code+" "+path+" "+method);
|
||||
|
||||
if (method.equals("GET")) {
|
||||
if (path.equals(Main.me.vote_page)) {
|
||||
|
Loading…
Reference in New Issue
Block a user