Merge pull request 'Fix http protocol' (#311) from 307-fix-open-repo-url into master

Reviewed-on: https://gitea.com/gitnex/GitNex/pulls/311
This commit is contained in:
M M Arif 2020-03-28 17:21:12 +00:00
commit 9717589427
1 changed files with 2 additions and 2 deletions

View File

@ -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);