File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1313SERVER_SOFTWARE = f"HomeAssistantSupervisor/{ SUPERVISOR_VERSION } aiohttp/{ aiohttpversion } Python/{ systemversion [0 ]} .{ systemversion [1 ]} "
1414
1515URL_HASSIO_ADDONS = "https://github.com/home-assistant/addons"
16- URL_HASSIO_APPARMOR = "https://version.home-assistant .io/apparmor_{channel}.txt"
16+ URL_HASSIO_APPARMOR = "https://ameridroid.github .io/HA-version /apparmor_{channel}.txt"
1717URL_HASSIO_VERSION = "https://ameridroid.github.io/HA-version/{channel}.json"
1818
1919SUPERVISOR_DATA = Path ("/data" )
Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ async def check_connectivity(self):
287287 timeout = aiohttp .ClientTimeout (total = 10 )
288288 try :
289289 await self .sys_websession .head (
290- "https://checkonline.home-assistant .io/online.txt" , timeout = timeout
290+ "https://ameridroid.github .io/HA-version /online.txt" , timeout = timeout
291291 )
292292 except (ClientError , TimeoutError ):
293293 # Need to recreate the websession to avoid stale connection checks
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ async def test_update_apparmor(
118118 await coresys .supervisor .update_apparmor ()
119119
120120 get .assert_called_once_with (
121- f"https://version.home-assistant .io/apparmor_{ channel } .txt" ,
121+ f"https://ameridroid.github .io/HA-version /apparmor_{ channel } .txt" ,
122122 timeout = ClientTimeout (total = 10 ),
123123 )
124124 load_profile .assert_called_once ()
Original file line number Diff line number Diff line change 1616 NetworkManager as NetworkManagerService ,
1717)
1818
19- URL_TEST = "https://version.home-assistant .io/stable.json"
19+ URL_TEST = "https://ameridroid.github .io/HA-version /stable.json"
2020
2121
2222@pytest .mark .usefixtures ("no_job_throttle" )
@@ -127,5 +127,5 @@ async def find_fetch_data_job_start(job: SupervisorJob):
127127 coresys .websession .get .assert_called_once ()
128128 assert (
129129 coresys .websession .get .call_args [0 ][0 ]
130- == "https://version.home-assistant .io/stable.json"
130+ == "https://ameridroid.github .io/HA-version /stable.json"
131131 )
You can’t perform that action at this time.
0 commit comments