Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
821938089 committed Nov 12, 2023
1 parent 5893098 commit 8227201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/io/legado/app/help/http/CookieManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ object CookieManager {
val cookie = CookieStore.getCookie(domain)
val requestCookie = request.header("Cookie")

mergeCookies(cookie, requestCookie)?.let { newCookie ->
mergeCookies(requestCookie, cookie)?.let { newCookie ->
kotlin.runCatching {
return request.newBuilder()
.header("Cookie", newCookie)
Expand Down

0 comments on commit 8227201

Please sign in to comment.