diff --git a/app/src/main/java/org/mian/gitnex/activities/LoginActivity.java b/app/src/main/java/org/mian/gitnex/activities/LoginActivity.java index cc4d3bc1..17ff3cef 100644 --- a/app/src/main/java/org/mian/gitnex/activities/LoginActivity.java +++ b/app/src/main/java/org/mian/gitnex/activities/LoginActivity.java @@ -245,7 +245,7 @@ public class LoginActivity extends BaseActivity implements View.OnClickListener } else { instanceUrl = "http://" + instanceHost + "/api/v1/"; - instanceUrlWithProtocol = "https://" + instanceHost; + instanceUrlWithProtocol = "http://" + instanceHost; } tinyDb.putString("instanceUrlRaw", instanceHost); @@ -334,7 +334,7 @@ public class LoginActivity extends BaseActivity implements View.OnClickListener } else { instanceUrl = "http://" + instanceHost + "/api/v1/"; - instanceUrlWithProtocol = "https://" + instanceHost; + instanceUrlWithProtocol = "http://" + instanceHost; } tinyDb.putString("instanceUrlRaw", instanceHost);