freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java
changeset 124 90371f3eb106
parent 122 e0ecef0c421b
child 126 e905cd9b1e4a
     1.1 --- a/freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java	Sun Oct 11 19:19:09 2009 +0200
     1.2 +++ b/freemarkerdor/src/main/java/cz/xelfi/quoridor/freemarkerdor/UI.java	Sun Oct 18 15:48:47 2009 +0200
     1.3 @@ -38,7 +38,6 @@
     1.4  import cz.xelfi.quoridor.IllegalPositionException;
     1.5  import cz.xelfi.quoridor.webidor.resources.Quoridor;
     1.6  import java.awt.Image;
     1.7 -import java.io.File;
     1.8  import java.io.IOException;
     1.9  import java.io.InputStream;
    1.10  import java.net.URI;
    1.11 @@ -335,7 +334,7 @@
    1.12          if (remoteAPI == null) {
    1.13              int localAPIPort = port - 1;
    1.14              apiServer = Quoridor.start(localAPIPort);
    1.15 -            base = client.resource(new URI("http://localhost:" + localAPIPort + "/api/"));
    1.16 +            base = client.resource(new URI("http://localhost:" + localAPIPort));
    1.17          } else {
    1.18              base = client.resource(new URI(remoteAPI));
    1.19              apiServer = null;