mirror of
				https://github.com/smartfrigde/armcord.git
				synced 2024-08-14 23:56:58 +00:00 
			
		
		
		
	Fix url logic (#300)
This commit is contained in:
		
							parent
							
								
									f9fd95ac6f
								
							
						
					
					
						commit
						fd5f7f78cf
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -94,7 +94,7 @@ async function doAfterDefiningTheWindow() { | |||
|         if (url === "about:blank") return {action: "allow"}; | ||||
|         // Allow Discord stream popout
 | ||||
|         if (url === "https://discord.com/popout") return {action: "allow"}; | ||||
|         if (url.startsWith("https:" || url.startsWith("http:") || url.startsWith("mailto:"))) { | ||||
|         if (url.startsWith("https:") || url.startsWith("http:") || url.startsWith("mailto:")) { | ||||
|             shell.openExternal(url); | ||||
|         } else { | ||||
|             if (ignoreProtocolWarning) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue