Author: Adam Pioterek <adam.pioterek@protonmail.ch>
new domain
%!v(PANIC=String method: strings: negative Repeat count)
diff --git a/app/src/main/java/ml/adamsprogs/bimba/datasources/TimetableDownloader.kt b/app/src/main/java/ml/adamsprogs/bimba/datasources/TimetableDownloader.kt index 0d25892bceb5cd43b1abad09f06f60e4f5680bb8..516d4022d9b5c77323c63dc73aa0b02252f5319d 100644 --- a/app/src/main/java/ml/adamsprogs/bimba/datasources/TimetableDownloader.kt +++ b/app/src/main/java/ml/adamsprogs/bimba/datasources/TimetableDownloader.kt @@ -40,12 +40,12 @@ var httpCon: HttpURLConnection try { try { - val url = URL("https://adamsprogs.ml/gtfs") + val url = URL("https://adamsprogs.tk/gtfs") httpCon = url.openConnection() as HttpsURLConnection - httpCon.addRequestProperty("ETag", localETag) + httpCon.addRequestProperty("ETag", localETag) //todo if not matches httpCon.connect() } catch (e:SSLException) { - val url = URL("http://adamsprogs.ml/gtfs") + val url = URL("http://adamsprogs.tk/gtfs") httpCon = url.openConnection() as HttpURLConnection httpCon.addRequestProperty("ETag", localETag) httpCon.connect()