landingpage/rootfs/usr/share/www/static
Stefan Agner 67abf8b7b9
Check host network connectivity (#128)
* Check host network connectivity

Check host network connectivity and offer DNS alternatives in case host
internet is not available. This allows users with broken DNS setup
to configure the host network with a working DNS.

Requires https://github.com/home-assistant/supervisor/pull/5321.

* Apply suggestions from code review

Co-authored-by: Bram Kragten <mail@bramkragten.nl>

* Remove network issue warning once resolved

* Make const var again

All consts need to be assigned on creation. This is not possible in this
case.

* Improve wording

* Replace try with use

* Improve network issue wording

* Rename function, call schedule outside of then()

The idea is to call schedule() always, no matter if there is an error
or not. So call it outside of the then() block.

* Use let

---------

Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2024-10-07 17:48:09 +02:00
..
README.md Update logo on landingpage (#100) 2023-10-09 18:18:26 +02:00
Roboto-Medium.woff2 Update layout of landingpage (#94) 2023-09-11 15:58:42 +02:00
Roboto-Regular.woff2 Add tsparticles (#23) 2021-03-11 16:51:10 -08:00
apple.svg Update layout of landingpage (#94) 2023-09-11 15:58:42 +02:00
dialog-polyfill.css Update layout of landingpage (#94) 2023-09-11 15:58:42 +02:00
dialog-polyfill.js Update layout of landingpage (#94) 2023-09-11 15:58:42 +02:00
favicon.ico Complete favicon support (#101) 2023-10-09 19:59:11 +02:00
google.svg Update layout of landingpage (#94) 2023-09-11 15:58:42 +02:00
logo.svg Update logo on landingpage (#100) 2023-10-09 18:18:26 +02:00
logo_discord.png Update layout of landingpage (#94) 2023-09-11 15:58:42 +02:00
logo_twitter.png Update layout of landingpage (#94) 2023-09-11 15:58:42 +02:00
mask-icon.svg Complete favicon support (#101) 2023-10-09 19:59:11 +02:00
qr-apple.svg Update logo on landingpage (#100) 2023-10-09 18:18:26 +02:00
qr-google.svg Update logo on landingpage (#100) 2023-10-09 18:18:26 +02:00
scripts.js Check host network connectivity (#128) 2024-10-07 17:48:09 +02:00
styles.css Check host network connectivity (#128) 2024-10-07 17:48:09 +02:00
tsparticles.min.js Add tsparticles (#23) 2021-03-11 16:51:10 -08:00

README.md

The license of this respository does not extend to any logo or design mark owned by Nabu Casa/Home Assistant. All rights reserved.