add internet connection

perhaps the user's internet is disconnected
serviceworkers can run without internet
This commit is contained in:
David Reed 2023-01-01 16:20:53 -05:00
parent 54f9b43995
commit b465d3fc54
No known key found for this signature in database
GPG key ID: 2211691D8A1EE72F

View file

@ -422,6 +422,7 @@ function hostnameErrorTemplate(fetchedURL, bareServer) {
'<p><b id="remoteHostname"></b>s server IP address could not be found.</p>' + '<p><b id="remoteHostname"></b>s server IP address could not be found.</p>' +
'<p>Try:</p>' + '<p>Try:</p>' +
'<ul>' + '<ul>' +
'<li>Checking your internet connection</li>' +
'<li>Verifying you entered the correct address</li>' + '<li>Verifying you entered the correct address</li>' +
'<li>Clearing the site data</li>' + '<li>Clearing the site data</li>' +
'<li>Contacting <b id="uvHostname"></b>\'s administrator</li>' + '<li>Contacting <b id="uvHostname"></b>\'s administrator</li>' +
@ -498,6 +499,7 @@ function errorTemplate(
'<textarea id="errorTrace" cols="40" rows="10" readonly></textarea>' + '<textarea id="errorTrace" cols="40" rows="10" readonly></textarea>' +
'<p>Try:</p>' + '<p>Try:</p>' +
'<ul>' + '<ul>' +
'<li>Checking your internet connection</li>' +
'<li>Verifying you entered the correct address</li>' + '<li>Verifying you entered the correct address</li>' +
'<li>Clearing the site data</li>' + '<li>Clearing the site data</li>' +
'<li>Contacting <b id="uvHostname"></b>\'s administrator</li>' + '<li>Contacting <b id="uvHostname"></b>\'s administrator</li>' +