Handle signals, code cleanup, easier labels

This commit is contained in:
Christopher LaPointe
2023-05-26 19:52:17 -04:00
parent af94d29dd3
commit ebb45b55c3
10 changed files with 123 additions and 124 deletions

View File

@@ -23,13 +23,13 @@
</div>
<div class="message">
<h2>Starting {{.Name}}</h2>
<h3>{{.CID}}</h3>
<h3>{{.Name}}</h3>
</div>
</div>
<script>
async function testForOk(url) {
const response = await fetch(url, {
method: "HEAD",
method: "{{.WaitForMethod}}",
});
console.log(`Got ${response.status}`);
return response.status === {{.WaitForCode}};