summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/src/main/java/com/lonkaars/bingo3/WeatherActivity.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/src/main/java/com/lonkaars/bingo3/WeatherActivity.java b/app/src/main/java/com/lonkaars/bingo3/WeatherActivity.java
index bc6d4a3..e991383 100644
--- a/app/src/main/java/com/lonkaars/bingo3/WeatherActivity.java
+++ b/app/src/main/java/com/lonkaars/bingo3/WeatherActivity.java
@@ -35,7 +35,9 @@ public class WeatherActivity extends AppCompatActivity {
findViewById(R.id.loader).setVisibility(View.VISIBLE);
ListView list = findViewById(R.id.forecast_list);
RequestQueue queue = Volley.newRequestQueue(this);
- String url = "https://wttr.in/?format=j1";
+ // temporary workaround for expired SSL certificates
+ String url = "https://media.pipeframe.xyz/wttr.json";
+ // String url = "https://wttr.in/?format=j1";
JsonObjectRequest jsonObjectRequest = new JsonObjectRequest
(Request.Method.GET, url, null, response -> {
@@ -63,4 +65,4 @@ public class WeatherActivity extends AppCompatActivity {
});
queue.add(jsonObjectRequest);
}
-} \ No newline at end of file
+}