mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-29 22:24:26 +00:00 
			
		
		
		
	Dashboard authentication
This commit is contained in:
		| @@ -524,7 +524,7 @@ | ||||
|   let ports = []; | ||||
|  | ||||
|   const fetchSerialPorts = (begin=false) => { | ||||
|     fetch('/serial-ports').then(res => res.json()) | ||||
|     fetch('/serial-ports', {credentials: "same-origin"}).then(res => res.json()) | ||||
|       .then(response => { | ||||
|         if (ports.length === response.length) { | ||||
|           let allEqual = true; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user