mirror of
				https://github.com/recloudstream/cloudstream.git
				synced 2024-08-15 01:53:11 +00:00 
			
		
		
		
	i forgor the ?
This commit is contained in:
		
							parent
							
								
									7272dc67b7
								
							
						
					
					
						commit
						8406f6de65
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -74,8 +74,8 @@ object RepositoryManager { | |||
|         val fixedUrl = url.trim() | ||||
|         return if (fixedUrl.contains("^https?://".toRegex())) { | ||||
|             fixedUrl | ||||
|         } else if (fixedUrl.contains("^(cloudstreamrepo://)|(https://cs\\.repo/)".toRegex())) { | ||||
|             fixedUrl.replace("^(cloudstreamrepo://)|(https://cs\\.repo/)".toRegex(), "").let { | ||||
|         } else if (fixedUrl.contains("^(cloudstreamrepo://)|(https://cs\\.repo/\??)".toRegex())) { | ||||
|             fixedUrl.replace("^(cloudstreamrepo://)|(https://cs\\.repo/\??)".toRegex(), "").let { | ||||
|                 return@let if (!it.contains("^https?://".toRegex())) | ||||
|                      "https://${it}" | ||||
|                 else fixedUrl | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue