Skip to content

Commit

Permalink
Switch command line app server to netty
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Nov 24, 2020
1 parent 679670b commit 936669e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -68,7 +68,7 @@ java_library(
java_binary(
name = "appserver",
testonly = True,
main_class = "org.openqa.selenium.environment.webserver.JettyAppServer",
main_class = "org.openqa.selenium.environment.webserver.NettyAppServer",
visibility = [
"//:__pkg__",
"//dotnet/test:__subpackages__",
Expand Down
Expand Up @@ -158,6 +158,6 @@ public static void main(String[] args) {
NettyAppServer server = new NettyAppServer();
server.start();

System.out.println(server.whereIs("/"));
System.out.printf("Server started. Root URL: %s%n", server.whereIs("/"));
}
}

0 comments on commit 936669e

Please sign in to comment.