mirror of
				https://github.com/house-of-abbey/GarminHomeAssistant.git
				synced 2025-10-31 15:48:13 +00:00 
			
		
		
		
	Arbitrary schema URL
This commit is contained in:
		| @@ -143,6 +143,9 @@ async function get_services() { | |||||||
| async function get_schema() { | async function get_schema() { | ||||||
|   const searchParams = new URL(window.location).searchParams; |   const searchParams = new URL(window.location).searchParams; | ||||||
|  |  | ||||||
|  |   const url = searchParams.get('schema'); | ||||||
|  |   if (url) return (await fetch(url)).json(); | ||||||
|  |  | ||||||
|   const branch = searchParams.get('branch'); |   const branch = searchParams.get('branch'); | ||||||
|   if (branch) |   if (branch) | ||||||
|     return ( |     return ( | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user