summaryrefslogtreecommitdiffstats
path: root/java/vaadin/src/run
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2017-03-30 09:16:28 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2017-03-30 09:16:28 +0200
commitac2a06489202c6f1de3bc43078059e608ce87e20 (patch)
tree432272cac5783c62715d83b928f4e22e9afe0990 /java/vaadin/src/run
parentb611f66803dee20970dc2f386783f507a411465a (diff)
downloadshare-ac2a06489202c6f1de3bc43078059e608ce87e20.zip
share-ac2a06489202c6f1de3bc43078059e608ce87e20.tar.gz
java : vaadin : add U2F support ;)
Diffstat (limited to 'java/vaadin/src/run')
-rw-r--r--java/vaadin/src/run/java/ch/asynk/Main.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/java/vaadin/src/run/java/ch/asynk/Main.java b/java/vaadin/src/run/java/ch/asynk/Main.java
index 222fccb..005ac9c 100644
--- a/java/vaadin/src/run/java/ch/asynk/Main.java
+++ b/java/vaadin/src/run/java/ch/asynk/Main.java
@@ -84,7 +84,7 @@ class HttpVaadinJettyServer extends VaadinJettyServer
@Override
protected void configure(int port)
{
- System.out.println("http://127.0.0.1:" + port + "/hello");
+ System.out.println("http://localhost:" + port + "/hello");
addConnector(httpConnector(port));
}
}
@@ -96,7 +96,7 @@ class HttpsVaadinJettyServer extends VaadinJettyServer
@Override
protected void configure(int port)
{
- System.out.println("https://127.0.0.1:" + port + "/hello");
+ System.out.println("https://localhost:" + port + "/hello");
addConnector(httpsConnector(port));
}
}
@@ -107,8 +107,8 @@ class HttpHttpsVaadinJettyServer extends HttpsVaadinJettyServer
@Override
protected void configure(int port)
{
- System.out.println("http://127.0.0.1:" + port + "/hello");
- System.out.println("https://127.0.0.1:" + (port + 1) + "/hello");
+ System.out.println("http://localhost:" + port + "/hello");
+ System.out.println("https://localhost:" + (port + 1) + "/hello");
this.setConnectors(new Connector[] { httpConnector(port), httpsConnector(port + 1) });
}
}
@@ -121,6 +121,6 @@ public class Main
String webRoot = System.getProperty("WEBROOT");
if (webRoot == null) webRoot = "./src/main/WebContent";
- new HttpVaadinJettyServer(port, webRoot).start();
+ new HttpsVaadinJettyServer(port, webRoot).start();
}
}