Add support for running under a context path, ie. /bonob, replace BONOB_WEB_ADDRESS with BONOB_URL

This commit is contained in:
simojenki
2021-07-23 18:11:32 +10:00
parent 8ed9bef7d8
commit 1153f8e318
16 changed files with 3700 additions and 3053 deletions

View File

@@ -10,7 +10,7 @@
<% } else { %>
<h3>No existing service registration</h3>
<% } %>
<form action="/register" method="POST"><button>Re-register</button></form>
<form action="<%= it.registerRoute %>" method="POST"><button>Re-register</button></form>
<h2>Devices</h2>
<ul>
<% it.devices.forEach(function(d){ %>