修訂 | 85c07ca8a1ae18dcd8a62d1a2ff69063f4f8d67c (tree) |
---|---|
時間 | 2017-09-01 03:22:26 |
作者 | HMML <hmml3939@gmai...> |
Commiter | HMML |
Change to use HTTPS for API requests.
@@ -15,7 +15,7 @@ import java.util.concurrent.ExecutionException; | ||
15 | 15 | |
16 | 16 | |
17 | 17 | public class ForecastFetcher { |
18 | - final public static String BASE_URL = "http://mmw.hmml.cloud/api/v1/forecasts/"; | |
18 | + final public static String BASE_URL = "https://mmw.hmml.cloud/api/v1/forecasts/"; | |
19 | 19 | public String areaId; |
20 | 20 | public String areaNs; |
21 | 21 | public Context context; |
@@ -172,7 +172,7 @@ public class ThemeDownloadActivity extends AppCompatActivity { | ||
172 | 172 | } |
173 | 173 | |
174 | 174 | static class RemoteThemeAdapter extends ArrayAdapter { |
175 | - static final String BASE_URL = "http://mmw.hmml.cloud/"; | |
175 | + static final String BASE_URL = "https://mmw.hmml.cloud/"; | |
176 | 176 | private final ProgressDialog progressDialog; |
177 | 177 | String query; |
178 | 178 | int cur_page = 0; |