forked from recloudstream/cloudstream
ficks link
This commit is contained in:
parent
11e000ecc8
commit
e11e9fcce7
1 changed files with 2 additions and 3 deletions
|
@ -120,9 +120,8 @@ class InAppUpdater {
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun Activity.getPreReleaseUpdate(): Update {
|
private fun Activity.getPreReleaseUpdate(): Update {
|
||||||
// TODO: change url
|
val tagUrl = "https://api.github.com/repos/LagradOst/CloudStream-3/git/ref/tags/pre-release"
|
||||||
val tagUrl = "https://api.github.com/repos/C10udburst/CloudStream-3/git/ref/tags/pre-release"
|
val releaseUrl = "https://api.github.com/repos/LagradOst/CloudStream-3/releases"
|
||||||
val releaseUrl = "https://api.github.com/repos/C10udburst/CloudStream-3/releases"
|
|
||||||
val headers = mapOf("Accept" to "application/vnd.github.v3+json")
|
val headers = mapOf("Accept" to "application/vnd.github.v3+json")
|
||||||
val response =
|
val response =
|
||||||
mapper.readValue<List<GithubRelease>>(khttp.get(releaseUrl, headers = headers).text)
|
mapper.readValue<List<GithubRelease>>(khttp.get(releaseUrl, headers = headers).text)
|
||||||
|
|
Loading…
Reference in a new issue