mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	console-spice-full fix scheme wss when accessing from https
This commit is contained in:
		
							parent
							
								
									53d7d1365d
								
							
						
					
					
						commit
						812bbb2ccc
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -100,6 +100,9 @@ | |||
| 
 | ||||
|                 host = document.getElementById("host").value; | ||||
|                 port = document.getElementById("port").value; | ||||
|                 if (window.location.protocol == 'https:') { | ||||
|                     scheme = "wss://"; | ||||
|                 } | ||||
|                 password = document.getElementById("password").value; | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue