diff --git a/server/src/main/kotlin/eu/kanade/tachiyomi/network/interceptor/CloudflareInterceptor.kt b/server/src/main/kotlin/eu/kanade/tachiyomi/network/interceptor/CloudflareInterceptor.kt index d9fb36437..68ed1c1a1 100644 --- a/server/src/main/kotlin/eu/kanade/tachiyomi/network/interceptor/CloudflareInterceptor.kt +++ b/server/src/main/kotlin/eu/kanade/tachiyomi/network/interceptor/CloudflareInterceptor.kt @@ -110,7 +110,7 @@ object CFClearance { val cmd: String, val url: String, val maxTimeout: Int? = null, - val session: List? = null, + val session: String? = null, @SerialName("session_ttl_minutes") val sessionTtlMinutes: Int? = null, val cookies: List? = null, @@ -169,6 +169,8 @@ object CFClearance { FlareSolverRequest( "request.get", originalRequest.url.toString(), + session = "suwayomi", + sessionTtlMinutes = 15, cookies = network.cookieStore.get(originalRequest.url).map { FlareSolverCookie(it.name, it.value)