mirror of https://codeberg.org/gitnex/GitNex.git
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:
commit
9717589427
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue