Skip to content

Commit

Permalink
changes the endpoint url
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandrouR committed Mar 2, 2020
1 parent a841eb7 commit b17b36b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/web3j/console/account/AccountManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

public class AccountManager {
private static final String USAGE = "account login|logout|create";
private static final String CLOUD_URL = "http://localhost:80";
private static final String CLOUD_URL = "https://auth.epirus.io";

public static void main(final CliConfig config, final String[] args) {
OkHttpClient client = new OkHttpClient();
Expand All @@ -55,7 +55,7 @@ public static void main(final CliConfig config, final String[] args) {

Request newAccountRequest =
new Request.Builder()
.url(String.format("%s/api/users/create/", CLOUD_URL))
.url(String.format("%s/auth/realms/EpirusPortal/web3j-token/create", CLOUD_URL))
.post(accountBody)
.build();

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/web3j/console/config/CliConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public class CliConfig {
private static final Path web3jConfigPath =
Paths.get(System.getProperty("user.home"), ".web3j", ".config");
private static final String defaultServicesUrl = "https://internal.services.web3labs.com";
private static final String defaultServicesUrl = "https://auth.epirus.io";

public static Path getWeb3jConfigPath() {
return web3jConfigPath;
Expand Down

0 comments on commit b17b36b

Please sign in to comment.