Loading app/src/main/java/app/fedilab/android/peertube/client/RetrofitPeertubeAPI.java +1 −2 Original line number Diff line number Diff line Loading @@ -44,7 +44,6 @@ import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.IDN; import java.net.URL; import java.net.URLDecoder; import java.util.ArrayList; Loading Loading @@ -254,7 +253,7 @@ public class RetrofitPeertubeAPI { .proxy(app.fedilab.android.mastodon.helper.Helper.getProxy(_context.getApplicationContext())) .build(); Retrofit retrofit = new Retrofit.Builder() .baseUrl("https://" + IDN.toASCII(instance, IDN.ALLOW_UNASSIGNED)) .baseUrl("https://" + instance) .addConverterFactory(GsonConverterFactory.create()) .client(okHttpClient) .build(); Loading Loading
app/src/main/java/app/fedilab/android/peertube/client/RetrofitPeertubeAPI.java +1 −2 Original line number Diff line number Diff line Loading @@ -44,7 +44,6 @@ import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.IDN; import java.net.URL; import java.net.URLDecoder; import java.util.ArrayList; Loading Loading @@ -254,7 +253,7 @@ public class RetrofitPeertubeAPI { .proxy(app.fedilab.android.mastodon.helper.Helper.getProxy(_context.getApplicationContext())) .build(); Retrofit retrofit = new Retrofit.Builder() .baseUrl("https://" + IDN.toASCII(instance, IDN.ALLOW_UNASSIGNED)) .baseUrl("https://" + instance) .addConverterFactory(GsonConverterFactory.create()) .client(okHttpClient) .build(); Loading