ficks link

This commit is contained in:
Cloudburst 2021-08-17 16:05:48 +02:00
parent 11e000ecc8
commit e11e9fcce7

View file

@ -120,9 +120,8 @@ class InAppUpdater {
}
private fun Activity.getPreReleaseUpdate(): Update {
// TODO: change url
val tagUrl = "https://api.github.com/repos/C10udburst/CloudStream-3/git/ref/tags/pre-release"
val releaseUrl = "https://api.github.com/repos/C10udburst/CloudStream-3/releases"
val tagUrl = "https://api.github.com/repos/LagradOst/CloudStream-3/git/ref/tags/pre-release"
val releaseUrl = "https://api.github.com/repos/LagradOst/CloudStream-3/releases"
val headers = mapOf("Accept" to "application/vnd.github.v3+json")
val response =
mapper.readValue<List<GithubRelease>>(khttp.get(releaseUrl, headers = headers).text)