OSDN Git Service

a little modify
authorsuccessli <successli@outlook.com>
Fri, 1 Jun 2018 02:37:12 +0000 (10:37 +0800)
committersuccessli <successli@outlook.com>
Fri, 1 Jun 2018 02:37:12 +0000 (10:37 +0800)
src/main/java/io/bytom/http/Client.java
src/main/resources/config.properties
src/test/java/io/bytom/TestUtils.java

index 9f3b1a1..a0bb7e8 100644 (file)
@@ -63,7 +63,7 @@ public class Client {
         String accessToken = Configuration.getValue("client.access.token");
 
         if (coreURL == null || coreURL.isEmpty()) {
-            coreURL = "http://127.0.0.1:9888/";
+            coreURL = "http://127.0.0.1:9888";
         }
 
         return new Client(coreURL, accessToken);
index 5938392..e9252be 100644 (file)
@@ -1,4 +1,4 @@
-bytom.api.url=http://127.0.0.1:9888\r
+bytom.api.url=\r
 client.access.token=\r
 \r
 # bytom.api.url=http://10.100.7.47:9888/\r
index 25f1690..e4ac7f2 100644 (file)
@@ -21,7 +21,7 @@ public class TestUtils {
         String accessToken = Configuration.getValue("client.access.token");
 
         if (coreURL == null || coreURL.isEmpty()) {
-            coreURL = "http://127.0.0.1:9888/";
+            coreURL = "http://127.0.0.1:9888";
         }
 
         return new Client(coreURL, accessToken);