Skip to content

Commit

Permalink
Change app loading address.
Browse files Browse the repository at this point in the history
  • Loading branch information
arturdryomov committed Jul 19, 2014
1 parent 76b250f commit e9ca2b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Expand Up @@ -81,7 +81,7 @@ private void setUpAppWebTitle() {
}

private void setUpAppWebContent() {
getWebView().loadUrl("http://httpbin.org/headers");
getWebView().loadUrl(serverClient.getServerAddress());
}

private static final class AppWebClient extends WebViewClient
Expand Down
Expand Up @@ -175,6 +175,10 @@ public void connectRemote() {
this.serverApi = buildServerApi();
}

public String getServerAddress() {
return serverAddress;
}

public void getShares() {
serverApi.getShares(server.getSession(), new ServerSharesResponse());
}
Expand Down

0 comments on commit e9ca2b7

Please sign in to comment.