mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-01 01:44:34 -05:00
Stop dumping cookies in the console (#1490)
This commit is contained in:
@@ -180,7 +180,6 @@ class PersistentCookieStore(
|
|||||||
val newValues =
|
val newValues =
|
||||||
cookieMap[domain]
|
cookieMap[domain]
|
||||||
.orEmpty()
|
.orEmpty()
|
||||||
.onEach { println(it) }
|
|
||||||
.asSequence()
|
.asSequence()
|
||||||
.filter { it.persistent && !it.hasExpired() }
|
.filter { it.persistent && !it.hasExpired() }
|
||||||
.map(Cookie::toString)
|
.map(Cookie::toString)
|
||||||
|
|||||||
@@ -224,7 +224,6 @@ fun applicationSetup() {
|
|||||||
CefCookieManager.getGlobalManager().apply {
|
CefCookieManager.getGlobalManager().apply {
|
||||||
val cookies = networkHelper.cookieStore.getStoredCookies()
|
val cookies = networkHelper.cookieStore.getStoredCookies()
|
||||||
for (cookie in cookies) {
|
for (cookie in cookies) {
|
||||||
logger.info { "Loading cookie ${cookie.name} for ${cookie.domain}" }
|
|
||||||
try {
|
try {
|
||||||
if (!setCookie(
|
if (!setCookie(
|
||||||
"https://" + cookie.domain,
|
"https://" + cookie.domain,
|
||||||
|
|||||||
Reference in New Issue
Block a user