mirror of
https://github.com/zix99/traefik-lazyload.git
synced 2025-12-21 13:23:04 +01:00
Handle signals, code cleanup, easier labels
This commit is contained in:
@@ -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}};
|
||||
|
||||
Reference in New Issue
Block a user