Fixing path issues. (#567)

Fixing path issues.

Co-authored-by: opyale <opyale@noreply.gitea.io>
Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/567
Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
This commit is contained in:
opyale 2020-06-30 20:19:55 +02:00 committed by M M Arif
parent e872069093
commit 2412245a9f
1 changed files with 1 additions and 0 deletions

View File

@ -174,6 +174,7 @@ public class LoginActivity extends BaseActivity {
.toUri();
URI instanceUrlWithProtocol = UrlBuilder.fromUri(rawInstanceUrl)
.withPath(PathsHelper.join(rawInstanceUrl.getPath()))
.withScheme(protocol.name().toLowerCase())
.toUri();