Adding Controller to 50x.html so that it will be suggested to users.

This commit is contained in:
Roland 2026-02-03 16:37:16 -07:00
parent 98ea05b689
commit 98d670feb7
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680

View file

@ -6,6 +6,10 @@
<p>nginx could not find WROLPi! Are your services running?</p>
<p>Start by viewing status of your services at the
<a id="controller_link" href="http://127.0.0.1:8087">Controller</a>
</p>
<pre><b>sudo systemctl status wrolpi-app</b></pre>
<pre><b>sudo systemctl status wrolpi-api</b></pre>
@ -85,6 +89,7 @@
replaceHref('api_link', `http://${hostname}:8081`);
replaceHref('map_link', `http://${hostname}:8084`);
replaceHref('kiwix_link', `http://${hostname}:8085`);
replaceHref('controller_link', `http://${hostname}:8087`);
} else {
console.error('Refusing to replace services links because window.location.hostname is empty');
}