mirror of
				https://github.com/recloudstream/cloudstream.git
				synced 2024-08-15 01:53:11 +00:00 
			
		
		
		
	fixed nicehttp headers
This commit is contained in:
		
							parent
							
								
									659d146dfe
								
							
						
					
					
						commit
						af9af6e7a2
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -90,8 +90,9 @@ const val VLC_EXTRA_DURATION_OUT = "extra_duration"
 | 
			
		|||
const val VLC_LAST_ID_KEY = "vlc_last_open_id"
 | 
			
		||||
 | 
			
		||||
// Short name for requests client to make it nicer to use
 | 
			
		||||
var app = Requests()
 | 
			
		||||
 | 
			
		||||
var app = Requests().apply {
 | 
			
		||||
    defaultHeaders = mapOf("user-agent" to USER_AGENT)
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
class MainActivity : AppCompatActivity(), ColorPickerDialogListener {
 | 
			
		||||
    companion object {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue