mirror of
				https://github.com/s00500/ESPUI.git
				synced 2025-10-31 12:23:24 +00:00 
			
		
		
		
	Restored missing port identifier for custom port support.
This commit is contained in:
		
							
								
								
									
										2
									
								
								data/js/controls.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								data/js/controls.js
									
									
									
									
										vendored
									
									
								
							| @@ -231,7 +231,7 @@ function start() { | |||||||
|         port != 80 || |         port != 80 || | ||||||
|         port != 443 |         port != 443 | ||||||
|     ) { |     ) { | ||||||
|         websock = new WebSocket( "ws://" + location + "/ws" ); |         websock = new WebSocket( "ws://" + location + ":" + port + "/ws" ); | ||||||
|     } else { |     } else { | ||||||
|         websock = new WebSocket("ws://" + location + "/ws"); |         websock = new WebSocket("ws://" + location + "/ws"); | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 MartinMueller2003
					MartinMueller2003