mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-10 14:17:48 +01:00
MangaCoverFetcher: Use source's header for network request (#6847)
This commit is contained in:
parent
0ed0d903cc
commit
5409af0a6c
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ class MangaCoverFetcher(
|
|||
private fun newRequest(): Request {
|
||||
val request = Request.Builder()
|
||||
.url(url)
|
||||
.headers(options.headers)
|
||||
.headers(sourceLazy.value?.headers ?: options.headers)
|
||||
// Support attaching custom data to the network request.
|
||||
.tag(Parameters::class.java, options.parameters)
|
||||
|
||||
|
|
Loading…
Reference in a new issue