forked from recloudstream/cloudstream
oops
This commit is contained in:
parent
ea537da831
commit
99c81f64f8
1 changed files with 2 additions and 2 deletions
|
@ -147,7 +147,7 @@ fun get(
|
||||||
cacheTime: Int = DEFAULT_TIME,
|
cacheTime: Int = DEFAULT_TIME,
|
||||||
cacheUnit: TimeUnit = DEFAULT_TIME_UNIT,
|
cacheUnit: TimeUnit = DEFAULT_TIME_UNIT,
|
||||||
timeout: Long = 0L
|
timeout: Long = 0L
|
||||||
): Response {
|
): response {
|
||||||
val client = OkHttpClient().newBuilder()
|
val client = OkHttpClient().newBuilder()
|
||||||
.followRedirects(allowRedirects)
|
.followRedirects(allowRedirects)
|
||||||
.followSslRedirects(allowRedirects)
|
.followSslRedirects(allowRedirects)
|
||||||
|
@ -170,7 +170,7 @@ fun post(
|
||||||
cacheTime: Int = DEFAULT_TIME,
|
cacheTime: Int = DEFAULT_TIME,
|
||||||
cacheUnit: TimeUnit = DEFAULT_TIME_UNIT,
|
cacheUnit: TimeUnit = DEFAULT_TIME_UNIT,
|
||||||
timeout: Long = 0L
|
timeout: Long = 0L
|
||||||
): Response {
|
): response {
|
||||||
val client = OkHttpClient().newBuilder()
|
val client = OkHttpClient().newBuilder()
|
||||||
.followRedirects(allowRedirects)
|
.followRedirects(allowRedirects)
|
||||||
.followSslRedirects(allowRedirects)
|
.followSslRedirects(allowRedirects)
|
||||||
|
|
Loading…
Reference in a new issue