diff --git a/sigServer.java b/sigServer.java index 9aa9500..65b48f2 100644 --- a/sigServer.java +++ b/sigServer.java @@ -152,8 +152,11 @@ public class sigServer { } else { System.out.println("Saving upload to "+myFile); if (filename.contains(".png")) { + in.close(); + CreateRequest(client,"200","OK",Paths.get(sigPlace.OUTDIR,"testfile.html")); ArcadeReader.submitToDatabase(Paths.get(sigPlace.ARCADEDIR,filename)); System.out.println("Submitted to the database!"); + return; } } filename=null;