mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	MangaCoverFetcher: Use source's header for network request (#6847)
This commit is contained in:
		@@ -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)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user